mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
formatting
This commit is contained in:
@@ -986,6 +986,7 @@ void EMSdevice::publish_mqtt_ha_sensor() {
|
||||
dv.ha |= DeviceValueHA::HA_DONE;
|
||||
}
|
||||
}
|
||||
|
||||
if (!ha_config_done()) {
|
||||
bool ok = publish_ha_config();
|
||||
ha_config_done(ok); // see if it worked
|
||||
|
||||
Reference in New Issue
Block a user