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
After reboot all sensors are broken :(
I have No Idea what is wrong. I included log (I hope you can tell me more)
Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:361
integration: Switch (documentation, issues)
First occurred: 20:43:39 (1 occurrences)
Last logged: 20:43:39
Error while setting up telenet_telemeter platform for switch
Traceback (most recent call last):
File "/config/custom_components/telenet_telemeter/utils.py", line 81, in callTelenet
assert response.status_code == expectedStatusCode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/telenet_telemeter/switch.py", line 26, in async_setup_entry
await data.force_update()
File "/config/custom_components/telenet_telemeter/switch.py", line 143, in force_update
await self._hass.async_add_executor_job(lambda: self._session.login(self._username, self._password))
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/telenet_telemeter/switch.py", line 143, in
await self._hass.async_add_executor_job(lambda: self._session.login(self._username, self._password))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/telenet_telemeter/utils.py", line 119, in login
self.callTelenet("https://api.prd.telenet.be/ocapi/oauth/userdetails","login")
File "/config/custom_components/telenet_telemeter/utils.py", line 103, in callTelenet
assert response.status_code == expectedStatusCode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
Thanks you in advance
The text was updated successfully, but these errors were encountered:
After reboot all sensors are broken :(
I have No Idea what is wrong. I included log (I hope you can tell me more)
Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:361
integration: Switch (documentation, issues)
First occurred: 20:43:39 (1 occurrences)
Last logged: 20:43:39
Error while setting up telenet_telemeter platform for switch
Traceback (most recent call last):
File "/config/custom_components/telenet_telemeter/utils.py", line 81, in callTelenet
assert response.status_code == expectedStatusCode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/telenet_telemeter/switch.py", line 26, in async_setup_entry
await data.force_update()
File "/config/custom_components/telenet_telemeter/switch.py", line 143, in force_update
await self._hass.async_add_executor_job(lambda: self._session.login(self._username, self._password))
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/telenet_telemeter/switch.py", line 143, in
await self._hass.async_add_executor_job(lambda: self._session.login(self._username, self._password))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/telenet_telemeter/utils.py", line 119, in login
self.callTelenet("https://api.prd.telenet.be/ocapi/oauth/userdetails","login")
File "/config/custom_components/telenet_telemeter/utils.py", line 103, in callTelenet
assert response.status_code == expectedStatusCode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
Thanks you in advance
The text was updated successfully, but these errors were encountered: