Skip to content

Commit f4c10bf

Browse files
authored
Obtain the various boiler-states via the heater_id after the recent updates in Smile.
1 parent a0d0337 commit f4c10bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/plugwise-beta/climate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def update(self):
258258
"""Update the data for this climate device."""
259259
_LOGGER.info("Updating climate...")
260260
climate_data = self._api.get_device_data(self._dev_id)
261-
heater_central_data = self._api.get_device_data(self._api.gateway_id)
261+
heater_central_data = self._api.get_device_data(self._api.heater_id)
262262

263263
if climate_data is None:
264264
_LOGGER.error("Received no climate_data for device %s.", self._name)

0 commit comments

Comments
 (0)