Skip to content

Commit

Permalink
fix name of status -> bus_status in heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Nov 22, 2021
1 parent 1c6a683 commit 07dabb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 07dabb4

Please sign in to comment.