Skip to content

Commit 7061b17

Browse files
committed
Add comment
1 parent 939a388 commit 7061b17

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

plugwise/helper.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,11 @@ def _scan_thermostats(self) -> None:
843843
if "secondary" in tl_loc_id and dev_id in tl_loc_id["secondary"]:
844844
device["dev_class"] = "thermo_sensor"
845845

846+
# All thermostat appliances can keep their device_class but must not become climate-entities in HA.
847+
# For each _thermo_loc a special climate-device must be created, with setpoint and temperature taken from the thermostat appliance with the lowest reported temperature.
848+
# Also the corresponding device_id must be available, and updated, as an attribute.
849+
# And the other attributes must be taken from the _thermo_loc.
850+
846851
def _match_locations(self) -> dict[str, ThermoLoc]:
847852
"""Helper-function for _scan_thermostats().
848853

0 commit comments

Comments
 (0)