mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-13 22:35:42 +00:00
fix leak 2
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user