I want to make an automation which triggers with a template, but I don’t know what I’m wrong… I want to do some actions, if timestamp is lower than 1 (which is not). But everytime I run the automation, I will still receive the message…
I have this code till now
alias: test
description: ''
trigger:
- platform: template
value_template: '{{ as_timestamp(now())|int < 1 }}'
condition: []
action:
- service: notify.persistent_notification
data:
message: ok
mode: single
If you run the automation from the automation page, you said that it will bypass… I asked you if I run the script, it will bypass as well the conditions?
we wouldn’t be going in circles here if you just actually posted your automation or gave more information than the automation you posted. The automation you posted can easily be tested by checking the template in the template editor that @samnewman86 linked above.