Closed dynasticorpheus closed 3 years ago
As per 2021.4 release a warning is shown which can be solved by setting default value for template sensor as per below.
from: value_template: 'last_changed: {{states.sensor.neerslag_buienalarm_regen_data.last_changed}}'
value_template: 'last_changed: {{states.sensor.neerslag_buienalarm_regen_data.last_changed}}'
to: value_template: 'last_changed: {{states.sensor.neerslag_buienalarm_regen_data.last_changed | default(now())}}'
value_template: 'last_changed: {{states.sensor.neerslag_buienalarm_regen_data.last_changed | default(now())}}'
Thanks @dynasticorpheus. I have updated the readme file and created a new release.
As per 2021.4 release a warning is shown which can be solved by setting default value for template sensor as per below.
from:
value_template: 'last_changed: {{states.sensor.neerslag_buienalarm_regen_data.last_changed}}'
to:
value_template: 'last_changed: {{states.sensor.neerslag_buienalarm_regen_data.last_changed | default(now())}}'