Skip to content

Commit ca0c72b

Browse files
committed
Fix
1 parent c90bbc9 commit ca0c72b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/plugwise/climate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def hvac_action(self) -> HVACAction: # pw-beta add to Core
252252

253253
# Adam provides the hvac_action for each thermostat
254254
if self._gateway[SMILE_NAME] == "Adam":
255-
return HVACAction(control_state)
255+
return HVACAction(self.device["control_state"])
256256
# Anna
257257
heater: str = self._gateway["heater_id"]
258258
heater_data = self._devices[heater]

0 commit comments

Comments
 (0)