Hello, any help with this error?
Registrador: homeassistant.setup
Fuente: setup.py:416
Error during setup of component smartbox
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 416, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/smartbox/__init__.py", line 95, in async_setup
devices = await get_devices(
^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartbox/model.py", line 288, in get_devices
await create_smartbox_device(
File "/config/custom_components/smartbox/model.py", line 313, in create_smartbox_device
await device.initialise_nodes(hass)
File "/config/custom_components/smartbox/model.py", line 63, in initialise_nodes
status = await hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/smartbox/session.py", line 154, in get_status
return self._api_request(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/smartbox/session.py", line 108, in _api_request
response.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api-elnur.helki.com/api/v2/devs/5bfcabd3d8808xxxxx/pmo/9/status
All the credentials and token are correct, if put wrong password (for check) system mark other error
My config yaml are this:
smartbox:
accounts:
- api_name: api-elnur
username: [email protected]
password: "f88xxxxxb"
session_retry_attempts: 20 # how many times to retry session REST operations
session_backoff_factor: 1.0 # how much to backoff between REST retries
socket_reconnect_attempts: 20 # how many times to try reconnecting the socket.io socket
socket_backoff_factor: 1.0 # how much to backoff between initial socket connect attempts
device_ids:
- 5bfcabd3d880xxxxx
basic_auth_creds: "NTRiY2NiZmI0MWE5YTUxMTNmMDQ4OGxxxxxxxxxxx*"
Im try write the password and basic auth credentials with slashes, without, wit simbol ==âŠ
Im not understand with not works.
Thanks in advance.