tried a few options
homeassistant.components.nederlandse_spoorwegen.sensor:
- AssertionError
- 'self._next_trip is not None'
- 'Error doing job: Task exception was never retrieved (None)'
but this error keeps returning frequently and is spamming the log. Since it has been an issue for years in that integration, I just don't want to see those any longer.. 😉
Logger: homeassistant
Bron: components/nederlandse_spoorwegen/sensor.py:250
Eerst voorgekomen: 20 oktober 2025 om 11:09:15 (366 gebeurtenissen)
Laatst gelogd: 09:39:18
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 1130, in _async_update_entity_states
await entity.async_update_ha_state(True)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 981, in async_update_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1151, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1092, in __async_calculate_state
if extra_state_attributes := self.extra_state_attributes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/nederlandse_spoorwegen/sensor.py", line 250, in extra_state_attributes
assert self._next_trip is not None
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError