mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix REST-API - strange characters in http://<hostname>/api/<device>/commands output #671
This commit is contained in:
@@ -496,7 +496,7 @@ void EMSdevice::add_device_value(uint8_t tag,
|
||||
|
||||
// add the command to our library
|
||||
// cmd is the short_name and the description is the fullname (not the custom fullname)
|
||||
Command::add(device_type_, short_name, f, Helpers::translated_word(fullname).c_str(), flags);
|
||||
Command::add(device_type_, short_name, f, Helpers::translated_fullname(fullname), flags);
|
||||
}
|
||||
|
||||
// single list of options
|
||||
|
||||
Reference in New Issue
Block a user