Skip to content

Commit

Permalink
Update sensor.py
Browse files Browse the repository at this point in the history
Updated the timeout to 300 seconds.
  • Loading branch information
ProudElm committed Apr 24, 2023
1 parent 585f0b4 commit 60826ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solaredgeoptimizers/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async def _async_update_data(self):
try:
# Note: asyncio.TimeoutError and aiohttp.ClientError are already
# handled by the data update coordinator.
async with async_timeout.timeout(60):
async with async_timeout.timeout(300):
_LOGGER.debug("Update from the coordinator")
data = await self.hass.async_add_executor_job(
self.my_api.requestAllData
Expand Down

0 comments on commit 60826ab

Please sign in to comment.