mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
minor formatting
This commit is contained in:
@@ -1637,7 +1637,7 @@ void MQTTCallback(unsigned int type, const char * topic, const char * message) {
|
||||
float f = strtof((char *)message, 0);
|
||||
if (f) {
|
||||
ems_setThermostatTemp(f, hc);
|
||||
publishEMSValues(true); // publish back immediately }
|
||||
publishEMSValues(true); // publish back immediately
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -1679,7 +1679,7 @@ void MQTTCallback(unsigned int type, const char * topic, const char * message) {
|
||||
float f = doc["data"];
|
||||
if (f) {
|
||||
ems_setThermostatTemp(f, hc);
|
||||
publishEMSValues(true); // publish back immediately }
|
||||
publishEMSValues(true); // publish back immediately
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -1710,7 +1710,7 @@ void MQTTCallback(unsigned int type, const char * topic, const char * message) {
|
||||
if (EMS_Thermostat.hc[hc - 1].active) {
|
||||
float f = doc["data"];
|
||||
if (f) {
|
||||
ems_setThermostatTemp(f, hc, 1); // night }
|
||||
ems_setThermostatTemp(f, hc, 1); // night
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user