I’m working since days on that and it’s not working. After learning a lot in the forums(Thanks!), I know that my template return ‘true’ in Developer Tools->template but I don’t get notification. (notify service works on other automations)
I would like to get notified if sensor.power does get updated after 100 seconds and I can see the number in dev tools. I feel I’m missing something stupid but I’m stuck on that since a while and I can’t find more info.
trigger:
- platform: state
entity_id: sensor.power
condition: - condition: template
value_template: “{{ (as_timestamp(now()) - as_timestamp(states.sensor.power.last_updated) ) > 100 }}”
action: - service: notify.dan
data:
message: powermon problem