Media_stop kills automation

I have 2 automations that I noticed do not complete as intended. I looked into the debug info and both show the same error

Stopped because an error was encountered at March 29, 2022, 07:51:58 (runtime: 6.87 seconds)

Stop failed: SendError=ApplicationNotFound, HandlerReturnStatus=Success

I looked into this more and noticed that for both the last action was to turn off my Sonos speakers. The action after that was never executed. In fact the Sonos speakers do stop / pause as they should. But everything afterwards stops. It is for sure this part because I moved the media stop service up and down in the automation and it always fails after this service call and it also does not matter what the next automation task is.

service: media_player.media_stop
target:
  area_id:
    - bedroom
    - living_room
    - dining_room
data: {}

I am really confused why this fails. Also these automations used to work fine until recently. I figure that one of last updates messed this up

Does anyone know why this happens or if there is something wrong with the code or while this service call kills the rest of the automation?

1 Like

Do all the media players in those areas support media_stop?

I suggest you report it as an Issue in the Core GitHub repository.

Looks like you already reported it (but I believe it should have been in the Core, not Frontend, repository).

I’m getting the same thing, did you find a work around for this?

Did you try pause instead of stop?

Yes, same thing…

Logs? Automation?

Im asking OP what he did as a solution, he covered it thoroughly so it’s pointless for me to reiterate everything…replacing stop with pause is the exact same error so that’s not the solution.

sigh that’s me out.