mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-23 14:53:07 +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
@@ -598,7 +598,7 @@
|
||||
const result = await response.json();
|
||||
|
||||
// Graph
|
||||
setValue('#tHeatCurrentTemp', result.master.heating.indoor_temp_control
|
||||
setValue('#tHeatCurrentTemp', result.master.heating.smart_control
|
||||
? result.master.heating.indoor_temp
|
||||
: result.master.heating.current_temp
|
||||
);
|
||||
@@ -683,7 +683,7 @@
|
||||
result.master.heating.blocking ? "success" : "error",
|
||||
result.master.heating.blocking ? "red" : "green"
|
||||
);
|
||||
setState('.mHeatIndoorTempControl', result.master.heating.indoor_temp_control);
|
||||
setState('.mHeatSmartControl', result.master.heating.smart_control);
|
||||
setStatus(
|
||||
'.mHeatOverheat',
|
||||
result.master.heating.overheat ? "success" : "error",
|
||||
|
||||
Reference in new issue
Block a user