I have also done this but in a slightly different way using the time and date sensor.
{{ states('sensor.time_date') == (state_attr('input_datetime.iosalarm', 'timestamp') -60 )| timestamp_custom('%H:%M, %Y-%m-%d', true) }}
I have also done this but in a slightly different way using the time and date sensor.
{{ states('sensor.time_date') == (state_attr('input_datetime.iosalarm', 'timestamp') -60 )| timestamp_custom('%H:%M, %Y-%m-%d', true) }}
I just posted an updated version here for iOS 17. Apple changed a few things (for the worse in this case) but it works.
I’ve also made use of a different date-time formatting, so I hope all you Germans can use this version without problems as well!
Would this help? If an alarm is deactivated, it will send a datetime in the past to HA. And I’ve changed the date-time formatting to ISO 8601 so it’s let prone to errors.
You could use the new filter options (and label your alarms) if need be…
Hi Maarten, this version of the shortcut seems to work for me except for the Woordenboek part. Any idea what it should be in english? Thanks!