mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
MQTT updates: added HA discovery, removed heartbeat - HomeAssistant Discovery #288
This commit is contained in:
@@ -157,7 +157,7 @@ void EMSESP::init_tx() {
|
||||
}
|
||||
}
|
||||
|
||||
// return status of bus: connected, connected but Tx is broken, disconnected
|
||||
// return status of bus: connected (0), connected but Tx is broken (1), disconnected (2)
|
||||
uint8_t EMSESP::bus_status() {
|
||||
if (!rxservice_.bus_connected()) {
|
||||
return BUS_STATUS_OFFLINE;
|
||||
|
||||
Reference in New Issue
Block a user