Hey Y'all,
I have a long working automation with no trigger and no conditions.
It gets executed by other automations or manually by hand.
Since yesterday the automation stopped triggering so I looked at the TRACE.
The first time the trace runs from first action till last action - everything works.
The second time the automation doesn't run through the first action even though a trace is created.
Looking at the HA-logs I see a warning that the automation is already running.
That's the crux I think. If I reboot HA, it works again once.
Temporary fixes:
- disabling and re-enabling the automation
- restarting HA
- restarting the Music Assistant Addon
These fixes allow me to start execute the automation once again before it stops working.
I disabled all actions but one to find out which one causes this behavior.
This is the action in question:
action: music_assistant.play_media
metadata: {}
target:
entity_id:
- media_player.raspikueche
- media_player.raspberrypitwo_2
- media_player.wohnzimmer_mediaplayer
data:
media_id: library://track/136
enqueue: replace
enabled: true
So what do I do now?
The Trace indicates that it's rather a HA error OR that Music Assistant doesn't end the automation for some reason.
Thoughts?