此错误来自自定义集成。
Logger: homeassistant
Source: custom_components/bj_sgcc_energy/sgcc.py:68
Integration: 北京用电信息查询 (documentation, issues)
First occurred: 19:32:54 (1 occurrences)
Last logged: 19:32:54
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/bj_sgcc_energy/__init__.py", line 20, in async_load_entities
await coordinator.async_auth()
File "/config/custom_components/bj_sgcc_energy/__init__.py", line 64, in async_auth
await self._sgcc.async_get_token()
File "/config/custom_components/bj_sgcc_energy/sgcc.py", line 68, in async_get_token
r = await self._session.get(AUTH_URL, headers=headers, allow_redirects=False, timeout=10)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 634, in _request
break
File "/usr/local/lib/python3.9/site-packages/aiohttp/helpers.py", line 721, in __exit__
raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError