Is there any way to get the name of the next alarm set?
I want to use my phone’s alarm setting to control my wake up automation. However, I have several alarms for different uses, and don’t want them to trigger the automation.
Thanks
Is there any way to get the name of the next alarm set?
I want to use my phone’s alarm setting to control my wake up automation. However, I have several alarms for different uses, and don’t want them to trigger the automation.
Thanks
We don’t get this data from the API
Assuming waking up is the first alarm of the day.
Filter it out if the automation ran already last x hours, or today ignore.?
I use this template as condition. It checks if the automation was triggered more then 6 hours ago. Not for a alarm use, but just to get some idea’s going
{{ (utcnow() | as_timestamp - state_attr('automation.veel_stroom', 'last_triggered') | as_timestamp) | default(0) | int > 21600 }}
I like that idea, I was thinking only letting it trigger in a specific window of time, but triggering on just the first alarm of the day sounds good.
I have a trigger for the “boss” of the house to trigger the water kettle to turn on between 6 and 9 in the morning when the alarm sounds.
But it only triggers when she is at home.
If she is out for a weekend, this automation does not trigger.