Some time in the past I setup some sensors, that (i guess) query the webfront of my 3D printer.
Now, when the printer is not running HA tries to update those sensors and floods the log.
Logger: homeassistant.helpers.template
Source: helpers/template.py:540
First occurred: 27 January 2023 at 13:41:07 (10290 occurrences)
Last logged: 14:13:00
Template variable error: 'None' has no attribute 'attributes' when rendering '{{ states.sensor.duet_status.attributes.temps.current[0] }}'
Template variable error: 'None' has no attribute 'attributes' when rendering '{{ states.sensor.duet_status.attributes.temps.bed.active }}'
Template variable error: 'None' has no attribute 'attributes' when rendering '{{ states.sensor.duet_status.attributes.fractionPrinted }}'
Template variable error: 'None' has no attribute 'attributes' when rendering '{{ states.sensor.duet_status.attributes.printDuration // 60 }}'
Template variable error: 'None' has no attribute 'attributes' when rendering '{{ states.sensor.duet_status.attributes.timesLeft.filament // 60 }}'
I’d like to take counter measure, but have no idea where those sensors are defined. I search all configuration files, but can’t find a trace.