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
nickrout
(Nick Rout)
March 30, 2022, 9:02am
2
Do all the media players in those areas support media_stop
?
123
(Taras)
March 30, 2022, 12:01pm
3
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).
opened 07:09PM - 29 Mar 22 UTC
### Checklist
- [X] I have updated to the latest available Home Assistant ver… sion.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my browser.
### Describe the issue you are experiencing
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.
This is the service call in the automation:
service: media_player.media_stop
target:
area_id:
- bedroom
- living_room
- dining_room
data: {}
Btw: the automations used to work just fine until a while ago.
### Describe the behavior you expected
I would expect that after the media player service call is done that the next action in the automation continues
### Steps to reproduce the issue
1. Run the automation
2. Check debug
3.
...
### What version of Home Assistant Core has the issue?
core-2022.3.8
### What was the last working version of Home Assistant Core?
_No response_
### In which browser are you experiencing the issue with?
Safari on Mac, iOS and iPadOS
### Which operating system are you using to run this browser?
macOS 12.3, iOS 14.5
### State of relevant entities
_No response_
### Problem-relevant frontend configuration
_No response_
### Javascript errors shown in your browser console/inspector
_No response_
### Additional information
_No response_
I’m getting the same thing, did you find a work around for this?
nickrout
(Nick Rout)
February 27, 2023, 2:47am
5
Did you try pause instead of stop?
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.