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
@@ -608,7 +608,7 @@ void publishHaEntity(HaEntity entityId, bool remove) {
|
||||
if (!remove) {
|
||||
climate->icon = "mdi:radiator";
|
||||
climate->enabledByDefault = true;
|
||||
climate->currentTemperatureTopic = vars.master.heating.indoorTempControl
|
||||
climate->currentTemperatureTopic = vars.master.heating.smartControl
|
||||
? "~/state/master/heating/indoor_temp"
|
||||
: "~/state/master/heating/current_temp";
|
||||
climate->temperatureCommandTopic = "~/settings/heating/target/set";
|
||||
|
||||
Reference in new issue
Block a user