Anyone any idea how I can find out which of my ESPHOME nodes is causing this issue and what it means ?
I’ve put logger into debug but it doesn’t offer any more info
It only occurs on restart
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/esphome/__init__.py", line 223, in send_home_assistant_state_event
and event.data["old_state"].state
AttributeError: 'NoneType' object has no attribute 'state'
I’m also getting this error every time HA starts up. Not a clue where it’s coming from. It’s been happening for several HA versions for me, as well as several ESPHome versions.
Logger: homeassistant
Source: components/esphome/__init__.py:229
First occurred: 12:13:20 (1 occurrences)
Last logged: 12:13:20
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/esphome/__init__.py", line 229, in send_home_assistant_state_event
and event.data["old_state"].state
AttributeError: 'NoneType' object has no attribute 'state'