File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,6 @@ class SmileProps(TypedDict, total=False):
400400 gateway_id : str
401401 heater_id : str
402402 item_count : int
403- notifications : dict [str , dict [str , str ]]
404403 reboot : bool
405404 smile_name : str
406405
@@ -551,6 +550,7 @@ class GwEntityData(TypedDict, total=False):
551550
552551 # Gateway
553552 gateway_modes : list [str ]
553+ notifications : dict [str , dict [str , str ]]
554554 regulation_modes : list [str ]
555555 select_gateway_mode : str
556556 select_regulation_mode : str
Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ def _get_plugwise_notifications(self) -> None:
446446 msg_id = notification .attrib ["id" ]
447447 msg_type = notification .find ("type" ).text
448448 msg = notification .find ("message" ).text
449- self ._notifications . update ({ msg_id : {msg_type : msg }})
449+ self ._notifications [ msg_id ] = {msg_type : msg }
450450 LOGGER .debug ("Plugwise notifications: %s" , self ._notifications )
451451 except AttributeError : # pragma: no cover
452452 LOGGER .debug (
You can’t perform that action at this time.
0 commit comments