Skip to content

Commit ac7a18c

Browse files
authored
Increase timout to prevent error if to many params (#121)
1 parent cfe6f8e commit ac7a18c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/ta_cmi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def _async_update_data(self) -> dict[str, Any]:
128128
for device in self.devices:
129129
_LOGGER.debug("Try to update device: %s", device.id)
130130

131-
async with timeout(DEVICE_DELAY + 5):
131+
async with timeout((DEVICE_DELAY * 2) + 5):
132132
await device.update()
133133

134134
parser: DeviceParser = DeviceParser(device, self.devices_raw[device.id])

0 commit comments

Comments
 (0)