Skip to content

Commit fefebda

Browse files
committed
Improve structure
1 parent 28fb17d commit fefebda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,15 @@ def _all_device_data(self) -> None:
8282
"""
8383
for device_id, device in self._appl_data.items():
8484
self.gw_devices.update({device_id: cast(DeviceData, device)})
85+
8586
data = self._get_device_data(device_id)
8687
# Add plugwise notification binary_sensor to the relevant gateway
8788
if device_id == self.gateway_id and (
8889
self._is_thermostat
8990
or (not self._smile_legacy and self.smile_type == "power")
9091
):
9192
data["binary_sensors"]["plugwise_notification"] = False
93+
9294
self.gw_devices[device_id].update(data)
9395

9496
# Update for cooling

0 commit comments

Comments
 (0)