mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
helptext for string commands
This commit is contained in:
@@ -737,9 +737,9 @@ void EMSdevice::generate_values_web(JsonObject & output) {
|
||||
l.add("off");
|
||||
l.add("on");
|
||||
}
|
||||
// add command template
|
||||
// add command help template
|
||||
if ((dv.type == DeviceValueType::STRING || dv.type == DeviceValueType::CMD) && dv.options_size == 1) {
|
||||
obj["o"] = dv.options[0];
|
||||
obj["h"] = dv.options[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user