You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error setting up entry xxxxxxxxxxxxx for bull
Traceback (most recent call last):
File "/config/custom_components/bull/api.py", line 340, in async_make_request
res = json.loads(response.content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/bull/api.py", line 173, in async_switch_family
res = await self.async_make_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/bull/api.py", line 350, in async_make_request
await self.async_refresh_access_token()
File "/config/custom_components/bull/api.py", line 145, in async_refresh_access_token
res = await self.async_make_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/bull/api.py", line 357, in async_make_request
res = await self.async_make_request(method, path, content_type, header, body, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/bull/api.py", line 342, in async_make_request
raise Exception("connection_failed")
Exception: connection_failed
During handling of the above exception, another exception occurred:
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/bull/init.py", line 20, in async_setup_entry
await bull_api.async_get_all_devices_list()
File "/config/custom_components/bull/api.py", line 204, in async_get_all_devices_list
await self.async_switch_family(familyId)
File "/config/custom_components/bull/api.py", line 178, in async_switch_family
raise Exception("switch_family_error")
Exception: switch_family_error
The text was updated successfully, but these errors were encountered:
日志: homeassistant.config_entries
来源: config_entries.py:575
首次发生: 12:51:34 (1 全部发生)
上次记录: 12:51:34
Error setting up entry xxxxxxxxxxxxx for bull
Traceback (most recent call last):
File "/config/custom_components/bull/api.py", line 340, in async_make_request
res = json.loads(response.content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/bull/api.py", line 173, in async_switch_family
res = await self.async_make_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/bull/api.py", line 350, in async_make_request
await self.async_refresh_access_token()
File "/config/custom_components/bull/api.py", line 145, in async_refresh_access_token
res = await self.async_make_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/bull/api.py", line 357, in async_make_request
res = await self.async_make_request(method, path, content_type, header, body, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/bull/api.py", line 342, in async_make_request
raise Exception("connection_failed")
Exception: connection_failed
During handling of the above exception, another exception occurred:
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/bull/init.py", line 20, in async_setup_entry
await bull_api.async_get_all_devices_list()
File "/config/custom_components/bull/api.py", line 204, in async_get_all_devices_list
await self.async_switch_family(familyId)
File "/config/custom_components/bull/api.py", line 178, in async_switch_family
raise Exception("switch_family_error")
Exception: switch_family_error
The text was updated successfully, but these errors were encountered: