Skip to content

Commit a18165f

Browse files
committed
Ruffed
1 parent b15d5a1 commit a18165f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugwise/data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ def _add_or_update_notifications(
115115
"binary_sensors" in entity
116116
and "plugwise_notification" in entity["binary_sensors"]
117117
):
118-
entity["binary_sensors"]["plugwise_notification"] = bool(self._notifications)
118+
entity["binary_sensors"]["plugwise_notification"] = bool(
119+
self._notifications
120+
)
119121
entity["notifications"] = self._notifications
120122
self._count += 2
121123

@@ -254,9 +256,7 @@ def _get_adam_data(self, entity: GwEntityData) -> None:
254256
entity["gateway_modes"] = self._gw_allowed_modes
255257
self._count += 1
256258

257-
def _climate_data(
258-
self, location_id: str, entity: GwEntityData
259-
) -> None:
259+
def _climate_data(self, location_id: str, entity: GwEntityData) -> None:
260260
"""Helper-function for _get_entity_data().
261261
262262
Determine climate-control entity data.

0 commit comments

Comments
 (0)