#Restart an integration via automation
1 messages · Page 1 of 1 (latest)
Reload the config entry
homeassistant.reload_config_entry
I use the AppleTV integration to control the lighting in my tv room based on the play pause state of the video. The appletv integration needs to be reloaded about once a month for some reason. So I’m just going to do it overnight/weekly to avoid doing it manually.
(Yes yes fix the root cause and I will but I’m good with a bandaid for the moment)
i read somewhere about that. does it go "unavailable"? then you could restart it on demand too?
Not that I’m seeing in the logs and it’s SUPER sporadic
hopefully daily restart solves the majority of cases anyway. add a voice command to be able to call it manually too just in case
That’s a good call too.
"okay nabu apple tv is broken again"... "i am turning it off and on again"
if your going to bodge it then bodge it completly 🙂
I have to do the same for my Anova sous vide device. I've tried the debug the connection and failed