Skip to content

Commit b96e79d

Browse files
committed
Ruffed, bump to a3
1 parent 3f28436 commit b96e79d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

plugwise/data.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,16 @@ def _add_or_update_notifications(
113113

114114
if self._is_thermostat or self.smile.type == "power":
115115
if "plugwise_notification" not in entity:
116-
entity["binary_sensors"].update({"plugwise_notification": bool(self._notifications)})
116+
entity["binary_sensors"].update(
117+
{"plugwise_notification": bool(self._notifications)}
118+
)
117119
entity.update({"notifications": self._notifications})
118120
self._count += 2
119121

120122
else:
121-
entity["binary_sensors"]["plugwise_notification"] = bool(self._notifications)
123+
entity["binary_sensors"]["plugwise_notification"] = bool(
124+
self._notifications
125+
)
122126
entity["notifications"] = self._notifications
123127
self._count += 2
124128

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "plugwise"
7-
version = "1.12.0a2"
7+
version = "1.12.0a3"
88
license = "MIT"
99
description = "Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3."
1010
readme = "README.md"

0 commit comments

Comments
 (0)