mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
minor cleanups
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user