formatting

This commit is contained in:
proddy
2021-09-19 11:21:01 +02:00
parent 78b2efd148
commit 28bf7c3225
2 changed files with 2 additions and 1 deletions

View File

@@ -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