fix REST-API - strange characters in http://<hostname>/api/<device>/commands output #671

This commit is contained in:
Proddy
2022-10-09 14:18:29 +02:00
parent 324d27896b
commit 8d6c676fed
6 changed files with 25 additions and 7 deletions

View File

@@ -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