show api type of commands as command instead of unknown

This commit is contained in:
MichaelDvP
2021-07-16 16:25:20 +02:00
parent 7dec674452
commit 64e15542a2

View File

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