mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 09:49:54 +03:00
dev20, remove obj_id again
This commit is contained in:
@@ -430,7 +430,6 @@ void WebCustomEntityService::publish(const bool force) {
|
||||
snprintf(uniq_s, sizeof(uniq_s), "%s_%s", F_(custom), entityItem.name.c_str());
|
||||
|
||||
config["uniq_id"] = uniq_s;
|
||||
config["obj_id"] = uniq_s;
|
||||
config["name"] = entityItem.name.c_str();
|
||||
|
||||
char topic[Mqtt::MQTT_TOPIC_MAX_SIZE];
|
||||
|
||||
@@ -283,7 +283,6 @@ void WebSchedulerService::publish(const bool force) {
|
||||
snprintf(uniq_s, sizeof(uniq_s), "%s_%s", F_(scheduler), scheduleItem.name.c_str());
|
||||
|
||||
config["uniq_id"] = uniq_s;
|
||||
config["obj_id"] = uniq_s;
|
||||
config["name"] = scheduleItem.name.c_str();
|
||||
config["def_ent_id"] = (std::string) "switch." + uniq_s;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user