This is an odd problem I’d like to understand more about.
I use a Home Assistant Dashboard as my bedside clock radio alarm. An Automation is triggered at the time set in an input_datetime helper and which plays a (Music Assistant) media_player and sets a Timer that stops the playing after a specified time.
This has been working for a few weeks although I’m still ironing out some wrinkles in the whole process. However, one thing that has always been 100% accurate and reliable is the triggering of the Automation.
Not so much this morning however as the alarm did not trigger. There was a power cut yesterday and I find that can ‘upset’ HA, but this was a specific failure and I checked a few things.
I can see in the Traces that Yesterday morning the media_player started playing and the Timer was started, all at the correct alarm time and triggered by the Automation - but that Automation has no record of that. Its Traces show the alarm of the day before and also this morning (more on that below), but nothing for yesterday morning, when it obviously did actually trigger and run.
Then this morning, the alarm did not trigger at the specified time. No Automation trigger, no Timer started and the media_player did not play. As if the Automation was disabled (which it was not). Looking at all the Traces etc. I can see no reason why it simply did not trigger when it should.
That last point being pertinent as 1 hour, 6 minutes and a few seconds after it should, the Automation DID trigger (at the set alarm time according to the Trace, but clearly that was incorrect), the player started playing and the Timer was started.
I do find that a power cut gives HA indigestion, but why does that actually occur (time is time, independent of whether HA lost power in the meantime) and how could it cause an Automation to lose its (then most recent) Trace and subsequently trigger at an odd time just over an hour after it should?
Just want to try and understand more about this, so hoping for some insight into HA’s inner workings. ![]()

