Skip to content

Commit c7f852a

Browse files
committed
Fix typos
1 parent a244c85 commit c7f852a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugwise/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ def _update_gw_devices(self) -> None:
9696
"""
9797
for device_id, device in self.gw_devices.items():
9898
data = self._get_device_data(device_id)
99-
if ("binary_sensors" in device and "plugwise_notification" in device["binary_sensors"])
100-
or (device_id == self.gateway_id and (self._is_thermostator or (self.smile_type == "power" and not self._smile_legacy))
101-
):
99+
if ("binary_sensors" in device and "plugwise_notification" in device["binary_sensors"]) or (device_id == self.gateway_id and (self._is_thermostat or (self.smile_type == "power" and not self._smile_legacy))):
102100
data["binary_sensors"]["plugwise_notification"] = bool(
103101
self._notifications
104102
)

0 commit comments

Comments
 (0)