In my HA installation I have created a rule to turn on lights and other actions when my alarm clock on the phone activates.
the rule actions run perfectly when triggered manually, but the template always fails to trigger.
After a few nights of trying to understand the reason of this, I have found out that the Android App updates the next alarm state instantly. My HA installation seems to update the next alarm sensor before it updates now() meaning that the automation never triggers.
I have tried to create a workaround that stores the alarm value in a helper for a few seconds longer, but that is proving way more complicated than it should be, so here I am.
Is it just me, is there an option to delay the phone sending updates until the alarm has run for a few seconds?