@freekode wrote:
Hi,
I have
input_datetime.bedtime
for time.My automation
- alias: Bed Time Automation trigger: platform: template value_template: "{{ now().strftime('%H:%M:%S') == states('input_datetime.bed_time') }}" action: - service: script.going_sleep
In dev tools I checked values:
{{ now().strftime('%H:%M:%S') # 16:32:00 }} {{ states('input_datetime.bed_time') # 16:34:00 }}
So they looks the same, and my question, why automation doesn’t trigger at all?
Posts: 4
Participants: 3