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
Questo errore ha avuto origine da un'integrazione personalizzata.
Registratore: homeassistant
Fonte: custom_components/tobi/binary_sensor.py:175
Integrazione: to be or not - Room Presence (documentazione, problemi)
Prima occorrenza: 10:00:46 (1 occorrenze)
Ultimo accesso: 10:00:46
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/config/custom_components/tobi/binary_sensor.py", line 125, in presence_event_handler
await self._presence_handler(_entity_id, _old_state, _new_state)
File "/config/custom_components/tobi/binary_sensor.py", line 149, in _presence_handler
await self.update_state()
File "/config/custom_components/tobi/binary_sensor.py", line 156, in update_state
if self.get_motion_state():
~~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/tobi/binary_sensor.py", line 175, in get_motion_state
if self._hass.states.get(sensor).state == "on":
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'state'
The text was updated successfully, but these errors were encountered:
this is because ha tries loading tobi before loading the integration responsible for the entity which is checked.
please let me know if it has any impact on usage after startup.
Questo errore ha avuto origine da un'integrazione personalizzata.
Registratore: homeassistant
Fonte: custom_components/tobi/binary_sensor.py:175
Integrazione: to be or not - Room Presence (documentazione, problemi)
Prima occorrenza: 10:00:46 (1 occorrenze)
Ultimo accesso: 10:00:46
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/config/custom_components/tobi/binary_sensor.py", line 125, in presence_event_handler
await self._presence_handler(_entity_id, _old_state, _new_state)
File "/config/custom_components/tobi/binary_sensor.py", line 149, in _presence_handler
await self.update_state()
File "/config/custom_components/tobi/binary_sensor.py", line 156, in update_state
if self.get_motion_state():
~~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/tobi/binary_sensor.py", line 175, in get_motion_state
if self._hass.states.get(sensor).state == "on":
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'state'
The text was updated successfully, but these errors were encountered: