mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2025-10-29 11:33:20 +00:00
fix leak 2
This commit is contained in:
parent
39c4590296
commit
0ec4b6a404
@ -363,9 +363,9 @@ HassDeviceInfo* hass_createSelectEntityIndexedCustom(const char* state_topic, co
|
||||
|
||||
sprintf(info->channel, "select/%s/config", info->unique_id);
|
||||
|
||||
cJSON* dev = info->device;
|
||||
cJSON_ReplaceItemInObject(dev, "manufacturer", cJSON_CreateString("Custom"));
|
||||
cJSON_ReplaceItemInObject(dev, "model", cJSON_CreateString("C-Swing-Control"));
|
||||
//cJSON* dev = info->device;
|
||||
//cJSON_ReplaceItemInObject(dev, "manufacturer", cJSON_CreateString("Custom"));
|
||||
//cJSON_ReplaceItemInObject(dev, "model", cJSON_CreateString("C-Swing-Control"));
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user