Skip to content

Commit 95007a6

Browse files
committed
Add comment
1 parent 52df225 commit 95007a6

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
@@ -818,6 +818,11 @@ def _scan_thermostats(self) -> None:
818818
if "secondary" in tl_loc_id and dev_id in tl_loc_id["secondary"]:
819819
device["dev_class"] = "thermo_sensor"
820820

821+
# All thermostat appliances can keep their device_class but must not become climate-entities in HA.
822+
# 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.
823+
# Also the corresponding device_id must be available, and updated, as an attribute.
824+
# And the other attributes must be taken from the _thermo_loc.
825+
821826
def _match_locations(self) -> dict[str, ThermoLoc]:
822827
"""Helper-function for _scan_thermostats().
823828

0 commit comments

Comments
 (0)