Skip to content

Commit 00d36a2

Browse files
committed
Remove redundant cast
1 parent 6d4da22 commit 00d36a2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

plugwise/smile.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -560,10 +560,7 @@ async def async_update(self) -> tuple[GatewayData, dict[str, DeviceData]]:
560560
# Update for cooling
561561
self.update_for_cooling(dev_dict)
562562

563-
return (
564-
cast(GatewayData, self.gw_data),
565-
cast(dict[str, DeviceData], self.gw_devices),
566-
)
563+
return (cast(GatewayData, self.gw_data), self.gw_devices)
567564

568565
async def _set_schedule_state_legacy(
569566
self, loc_id: str, name: str, status: str

0 commit comments

Comments
 (0)