File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -25,23 +25,9 @@ def _update_gw_devices(self) -> None:
2525 """
2626 for device_id , device in self .gw_devices .items ():
2727 data = self ._get_device_data (device_id )
28- self ._add_or_update_notifications (device_id , device , data )
2928 device .update (data )
3029 remove_empty_platform_dicts (device )
3130
32- def _add_or_update_notifications (
33- self , device_id : str , device : DeviceData , data : DeviceData
34- ) -> None :
35- """Helper-function adding or updating the Plugwise notifications."""
36- if (
37- device_id == self .gateway_id and self ._is_thermostat
38- ) or (
39- "binary_sensors" in device
40- and "plugwise_notification" in device ["binary_sensors" ]
41- ):
42- data ["binary_sensors" ]["plugwise_notification" ] = bool (self ._notifications )
43- self ._count += 1
44-
4531 def _all_device_data (self ) -> None :
4632 """Helper-function for get_all_devices().
4733
You can’t perform that action at this time.
0 commit comments