Hi,
I am still learning home assistant but need help with an alarm clock. Right now below is the code for what I have tried but I want to have my alarm clock trigger when a helpers time matches the current time. I am using a helper because I thought it would work but I am open to suggestions. Any help would be great! Thanks
alias: Alarm
description: ""
trigger:
- platform: template
value_template: >-
{{ states('input_datetime.alarm') == now().strftime('%Y-%m-%d %H:%M:%S')
}}
condition: []
action:
- device_id: 872c2fea3eb26cc1fa8669a
domain: mobile_app
type: notify
message: Triggered
mode: single