In my 1 year old son’s room, I’ve setup an automation for a nest audio speaker to play white noise during his sleep. During his sleep, that’s when I finally get the time to play around with Home Assistant. Often times, new setups require a restart. Restarting means disrupting that white noise automation in his room, which in turn wakes him up.
The problem is I often forget restarting will stop the white noise automation, despite the built in warning popup. I’m wondering is there a way I could edit that warning popup somehow so I don’t just mindlessly click on the restart button during his sleep? Maybe put my son’s photo on that warning popup or something to remind me.
I think you’re trying to solve the wrong problem. How are you automating the white noise such that it stops when you restart HA? I’m guessing you’re streaming media that is local to HA, and this disappears for a while during restart. If so, you could put the file somewhere else, but this would require a bit of work.
If you stream from youtube/spotify they will not interrupt, but both require paid access to play specific tracks/playlists. Alternatively, the Google Assistant SDK can be used to send commands and Google has this capability built-in (eg. play white noise in freddies room). Note that this integration is new in 2023.1, so you’ll need to be on that version. I’m still using Assistant Relay to do the same thing, but it’s no longer maintained, so I need to pull my finger out and change.