Skip to content

Commit 365ef1d

Browse files
committed
Disable
1 parent a98dc4e commit 365ef1d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugwise/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ def _get_location_data(self, loc_id: str) -> GwEntityData:
174174
data["control_state"] = "idle"
175175
self._count += 1
176176

177-
data.pop("setpoint") # remove, only used in _control_state()
178-
self._count -= 1
177+
# data.pop("setpoint") # remove, only used in _control_state()
178+
# self._count -= 1
179179

180180
# Thermostat data (presets, temperatures etc)
181181
self._climate_data(loc_id, zone, data)

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,7 @@ def _control_state(self, data: GwEntityData, loc_id: str) -> str:
925925
Represents the heating/cooling demand-state of the local primary thermostat.
926926
Note: heating or cooling can still be active when the setpoint has been reached.
927927
"""
928+
LOGGER.debug("HOI data: %s", data)
928929
locator = f'location[@id="{loc_id}"]'
929930
if (location := self._domain_objects.find(locator)) is not None:
930931
locator = './actuator_functionalities/thermostat_functionality[type="thermostat"]/control_state'
@@ -933,7 +934,6 @@ def _control_state(self, data: GwEntityData, loc_id: str) -> str:
933934

934935
# Older Adam firmware does not have the control_state key
935936
# Work around this by comparing the reported temperature and setpoint for a location
936-
LOGGER.debug("HOI data: %s", data)
937937
setpoint = data["setpoint"]
938938
temperature = data["temperature"]
939939
# No cooling available in older firmware

0 commit comments

Comments
 (0)