mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
show api type of commands as command instead of unknown
This commit is contained in:
@@ -801,6 +801,10 @@ bool EMSdevice::get_value_info(JsonObject & root, const char * cmd, const int8_t
|
||||
json[type] = F_(text);
|
||||
break;
|
||||
|
||||
case DeviceValueType::CMD:
|
||||
json[type] = F_(command);
|
||||
break;
|
||||
|
||||
default:
|
||||
json[type] = F_(unknown);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user