mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix name of status -> bus_status in heartbeat
This commit is contained in:
@@ -580,7 +580,7 @@ void Mqtt::ha_status() {
|
||||
doc["stat_t"] = FJSON("~/heartbeat");
|
||||
doc["name"] = FJSON("EMS-ESP status");
|
||||
doc["ic"] = F_(icondevice);
|
||||
doc["val_tpl"] = FJSON("{{value_json['status']}}");
|
||||
doc["val_tpl"] = FJSON("{{value_json['bus_status']}}");
|
||||
|
||||
JsonObject dev = doc.createNestedObject("dev");
|
||||
dev["name"] = F_(EMSESP); // "EMS-ESP"
|
||||
|
||||
Reference in New Issue
Block a user