From 87d22497ab7bb4fd04b248dbe8bb70699168096a Mon Sep 17 00:00:00 2001 From: Feng Wang Date: Thu, 19 Dec 2024 14:54:51 +0800 Subject: [PATCH] Fix star expression --- custom_components/xiaomi_home/miot/miot_cloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/xiaomi_home/miot/miot_cloud.py b/custom_components/xiaomi_home/miot/miot_cloud.py index f00cb7d..5b8818a 100644 --- a/custom_components/xiaomi_home/miot/miot_cloud.py +++ b/custom_components/xiaomi_home/miot/miot_cloud.py @@ -554,7 +554,7 @@ async def get_devices_with_dids_async( self, dids: list[str] ) -> dict[str, dict]: results: list[dict[str, dict]] = await asyncio.gather( - *[self.__get_device_list_page_async, dids[index:index+150] + [self.__get_device_list_page_async, dids[index:index+150] for index in range(0, len(dids), 150)]) devices = {} for result in results: