日志: homeassistant.config_entries
来源: config_entries.py:575
首次发生: 11:42:41 (3 全部发生)
上次记录: 21:05:38
Error setting up entry Haier - 13975847420 for haier
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 575, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/haier/init.py”, line 62, in async_setup_entry
devices = await get_available_devices(client)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/haier/init.py”, line 133, in get_available_devices
devices = await client.get_devices() + await get_virtual_devices(client)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/haier/core/client.py”, line 116, in get_devices
headers = await self._generate_common_headers(GET_DEVICES_API)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/haier/core/client.py”, line 235, in _generate_common_headers
‘accessToken’: await self.get_token() if not skip_token else ‘’,
^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/haier/core/client.py”, line 107, in get_token
token = await self.try_login()
^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/haier/core/client.py”, line 99, in try_login
raise HaierClientException(content[‘error’])
custom_components.haier.core.client.HaierClientException: Internal Server Error