File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " plugwise"
7- version = " 1.12.0a2 "
7+ version = " 1.12.0a3 "
88license = " MIT"
99description = " Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3."
1010readme = " README.md"
You can’t perform that action at this time.
0 commit comments