mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
formatting
This commit is contained in:
@@ -1774,7 +1774,8 @@ void WebCallback(JsonObject root) {
|
|||||||
|
|
||||||
uint8_t hc_num = 1; // default to HC1
|
uint8_t hc_num = 1; // default to HC1
|
||||||
uint8_t model = ems_getThermostatModel();
|
uint8_t model = ems_getThermostatModel();
|
||||||
while (hc_num < EMS_THERMOSTAT_MAXHC && !EMS_Thermostat.hc[hc_num - 1].active) hc_num++; // first active hc
|
while (hc_num < EMS_THERMOSTAT_MAXHC && !EMS_Thermostat.hc[hc_num - 1].active)
|
||||||
|
hc_num++; // first active hc
|
||||||
// Render Current & Setpoint Room Temperature
|
// Render Current & Setpoint Room Temperature
|
||||||
if (model == EMS_DEVICE_FLAG_EASY) {
|
if (model == EMS_DEVICE_FLAG_EASY) {
|
||||||
if (EMS_Thermostat.hc[hc_num - 1].setpoint_roomTemp > EMS_VALUE_SHORT_NOTSET)
|
if (EMS_Thermostat.hc[hc_num - 1].setpoint_roomTemp > EMS_VALUE_SHORT_NOTSET)
|
||||||
|
|||||||
Reference in New Issue
Block a user