Skip to content

Commit cdd57ac

Browse files
committed
Fix code, ongoing
1 parent d8696dc commit cdd57ac

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

plugwise/data.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,6 @@ def _get_entity_data(self, entity_id: str) -> GwEntityData:
197197
if self.check_name(ADAM):
198198
self._get_adam_data(entity, data)
199199

200-
# Thermostat data for Anna (presets, temperatures etc)
201-
# if self.check_name(ANNA) and entity["dev_class"] == "thermostat":
202-
# self._climate_data(entity_id, entity, data)
203-
# self._get_anna_control_state(data)
204-
205200
return data
206201

207202
def _check_availability(

plugwise/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,9 @@ def _rank_thermostat(
773773
thermo_loc["secondary"].append(appliance_id)
774774

775775
def _control_state(self, data: GwEntityData, loc_id: str) -> str | bool:
776-
"""Helper-function for _get_adam_data().
776+
"""Helper-function for _get_location_data().
777777
778-
Adam: find the thermostat control_state of a location, from DOMAIN_OBJECTS.
778+
Adam & Anna: find the thermostat control_state of a location, from DOMAIN_OBJECTS.
779779
Represents the heating/cooling demand-state of the local primary thermostat.
780780
Note: heating or cooling can still be active when the setpoint has been reached.
781781
"""

0 commit comments

Comments
 (0)