Can someone please help identifying the issue. My current time in HA is Mon Apr 28 20:54:11 EDT 2025
However the value_template is giving me false instead of true and not triggering anything.
alias: 1 Aqua
description: ''
triggers:
- id: t_co2_switch_on
value_template: >-
{{ as_timestamp(now()) >= as_timestamp(now().strftime('%Y-%m-%d
14:00:00')) }}
trigger: template
actions:
- condition: trigger
id:
- t_co2_switch_on
- data:
message: >
Current time: {{ now() }}, Target time: {{ now().strftime('%Y-%m-%d
14:00:00') }}, Comparison: {{
as_timestamp(now()) >= as_timestamp(now().strftime('%Y-%m-%d 14:00:00'))
}}
level: info
action: system_log.write
mode: single
Even the template seems correct and output is as below if removing the condition validation temporarily.