File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ def _check_availability(
255255 if details ["dev_class" ] == "heater_central" and details ["name" ] != "OnOff" :
256256 device_data ["available" ] = True
257257 for data in self ._notifications .values ():
258- for msg in list ( data .values () ):
258+ for msg in data .values ():
259259 if "no OpenTherm communication" in msg :
260260 device_data ["available" ] = False
261261
@@ -550,7 +550,7 @@ async def async_update(self) -> list[GatewayData | dict[str, DeviceData]]:
550550
551551 for dev_id , dev_dict in self .gw_devices .items ():
552552 data = self ._get_device_data (dev_id )
553- for key , value in list ( data .items () ):
553+ for key , value in data .items ():
554554 if key in dev_dict :
555555 dev_dict [key ] = value # type: ignore [literal-required]
556556
@@ -559,7 +559,7 @@ async def async_update(self) -> list[GatewayData | dict[str, DeviceData]]:
559559 if item == "binary_sensors" :
560560 notifs = self ._notifications
561561 if item in dev_dict :
562- for key , value in list ( data .items () ):
562+ for key , value in data .items ():
563563 update_helper (
564564 data ,
565565 self .gw_devices ,
You can’t perform that action at this time.
0 commit comments