mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
force autodetect after changing thermostat - #238
This commit is contained in:
@@ -1106,6 +1106,9 @@ bool SetListCallback(MYESP_FSACTION_t action, uint8_t wc, const char * setting,
|
|||||||
uint8_t pid = atoi(value);
|
uint8_t pid = atoi(value);
|
||||||
EMSESP_Settings.master_thermostat = pid;
|
EMSESP_Settings.master_thermostat = pid;
|
||||||
ems_setMasterThermostat(pid);
|
ems_setMasterThermostat(pid);
|
||||||
|
// force a scan
|
||||||
|
ems_clearDeviceList();
|
||||||
|
ems_doReadCommand(EMS_TYPE_UBADevices, EMS_Boiler.device_id);
|
||||||
ok = true;
|
ok = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user