mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-23 23:03:06 +05:00
feat: expose smart heating control across device interfaces
Rename indoor_temp_control to smart_control across firmware, REST, the dashboard and Home Assistant. Publish state/master/heating/smart_control over MQTT and remove the redundant state/master/mqtt/connected topic.
This commit is contained in:
1 parent
9ff1bd14f5
commit
7e1d0ddff2
7 files changed
+16
-16
No files matched your search
+2
-2
@@ -188,12 +188,12 @@ static Task regulatorTask("Regulator", [](void*) {
|
||||
}
|
||||
|
||||
if (settings.equitherm.enabled || settings.pid.enabled || settings.opentherm.options.nativeOTC) {
|
||||
vars.master.heating.indoorTempControl = true;
|
||||
vars.master.heating.smartControl = true;
|
||||
vars.master.heating.minTemp = THERMOSTAT_INDOOR_MIN_TEMP;
|
||||
vars.master.heating.maxTemp = THERMOSTAT_INDOOR_MAX_TEMP;
|
||||
|
||||
} else {
|
||||
vars.master.heating.indoorTempControl = false;
|
||||
vars.master.heating.smartControl = false;
|
||||
vars.master.heating.minTemp = settings.heating.minTemp;
|
||||
vars.master.heating.maxTemp = settings.heating.maxTemp;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user