File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -91,14 +91,13 @@ def _all_device_data(self) -> None:
9191 """
9292 for device_id , device in self .gw_devices .items ():
9393 data = self ._get_device_data (device_id )
94+ device .update (data )
9495 # Add plugwise notification binary_sensor to the relevant gateway
9596 if device_id == self .gateway_id and (
9697 self ._is_thermostat
9798 or (not self ._smile_legacy and self .smile_type == "power" )
9899 ):
99- data ["binary_sensors" ]["plugwise_notification" ] = False
100-
101- device .update (data )
100+ device ["binary_sensors" ]["plugwise_notification" ] = False
102101
103102 # Update for cooling
104103 if device ["dev_class" ] in ZONE_THERMOSTATS :
@@ -528,7 +527,6 @@ async def async_update(self) -> PlugwiseData:
528527 data ["binary_sensors" ]["plugwise_notification" ] = bool (
529528 self ._notifications
530529 )
531-
532530 device .update (data )
533531
534532 # Update for cooling
You can’t perform that action at this time.
0 commit comments