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 @@ -86,7 +86,7 @@ def _detect_low_batteries(self) -> list[str]:
8686 mac_pattern = re .compile (r"(?:[0-9A-F]{2}){8}" )
8787 matches = ["Battery" , "below" ]
8888 if self ._notifications :
89- for msg_id , notification in list ( self ._notifications .items () ):
89+ for msg_id , notification in self ._notifications .items ():
9090 mac_address : str | None = None
9191 message : str | None = notification .get ("message" )
9292 warning : str | None = notification .get ("warning" )
Original file line number Diff line number Diff line change @@ -723,7 +723,7 @@ def _scan_thermostats(self) -> None:
723723 for entity_id , entity in self .gw_entities .items ():
724724 self ._rank_thermostat (thermo_matching , loc_id , entity_id , entity )
725725
726- for loc_id , loc_data in list ( self ._thermo_locs .items () ):
726+ for loc_id , loc_data in self ._thermo_locs .items ():
727727 if loc_data ["primary_prio" ] != 0 :
728728 self ._zones [loc_id ] = {
729729 "dev_class" : "climate" ,
You can’t perform that action at this time.
0 commit comments