minor cleanups

This commit is contained in:
proddy
2020-08-31 21:39:48 +02:00
parent 97b256cd46
commit abfd1ae63a
3 changed files with 4 additions and 5 deletions

View File

@@ -719,7 +719,7 @@ void Boiler::set_max_power(const char * value, const int8_t id) {
write_command(EMS_TYPE_UBAParameters, 2, v);
}
// set oiler on hysteresis
// set boiler on hysteresis
void Boiler::set_hyst_on(const char * value, const int8_t id) {
int v = 0;
if (!Helpers::value2number(value, v)) {

View File

@@ -317,7 +317,6 @@ void Thermostat::publish_values() {
}
// send this specific data using the thermostat_data topic
// if ((mqtt_format_ == MQTT_format::SINGLE) || (mqtt_format_ == MQTT_format::HA)) {
if (mqtt_format_ != MQTT_format::NESTED) {
Mqtt::publish("thermostat_data", doc);
rootThermostat = doc.to<JsonObject>(); // clear object