I’ve been using the Sense energy monitor in HA for some time now, and the past few days have been getting API timeout errors. Curious if others are seeing the same. I note that status.sense.com shows no current issues.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/sense_energy/asyncsenseable.py", line 141, in _api_call
async with self._client_session.get(
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 913, in start
self._continue = None
File "/usr/local/lib/python3.9/site-packages/aiohttp/helpers.py", line 721, in __exit__
raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/sense/__init__.py", line 79, in async_setup_entry
await gateway.get_monitor_data()
File "/usr/local/lib/python3.9/site-packages/sense_energy/asyncsenseable.py", line 177, in get_monitor_data
json = await self._api_call("app/monitors/%s/overview" % self.sense_monitor_id)
File "/usr/local/lib/python3.9/site-packages/sense_energy/asyncsenseable.py", line 154, in _api_call
raise SenseAPITimeoutException("API call timed out") from ex
sense_energy.sense_exceptions.SenseAPITimeoutException: API call timed out