Every time I reboot/restart HASS I get these warnings/errors. Everything seems to be working fine, so I assume these are not applicable. Is there a way to get rid of them? It’s making it hard to debug actual issue. I don’t have a clue where they are actually coming from. Any insight would be appreciated!
17-02-06 20:30:44 WARNING (MainThread) [homeassistant.components.sensor.template] UndefinedError: 'None' has no attribute 'attributes'
17-02-06 20:30:44 WARNING (MainThread) [homeassistant.components.sensor.template] UndefinedError: 'None' has no attribute 'attributes'
17-02-06 20:30:44 WARNING (MainThread) [homeassistant.components.sensor.template] UndefinedError: 'None' has no attribute 'attributes'
17-02-06 20:30:44 WARNING (MainThread) [homeassistant.components.sensor.template] UndefinedError: 'None' has no attribute 'attributes'
17-02-06 20:30:44 WARNING (MainThread) [homeassistant.components.sensor.template] UndefinedError: 'None' has no attribute 'attributes'
17-02-06 20:30:59 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'attributes'
You could do them one at a time, but the problem is that the sensors could load at different points in the bootstrap process so you don’t always see these errors all the time, or even with the same sensor. It’s easier just to wrap them all and make that your normal procedure for the future.
Or you can ignore them - since they don’t really signify an ‘error’ as much as a transient condition that’s quickly resolved.
Cool, thanks. I know it’s not an error but it’s just annoying when I go looking for an actual error and the log is littered with those. I’ll just wrap them all and move on, appreciate it!