I’m wanting to create a simple script to play a sound on my tablet using browser_mod to make the instance of the browser on the tablet a media player. If I test this in the services tab within developer tools the sound works as expected but if I add this as an action in the script it doesn’t.
Developer tab yaml that works.
Action in script that doesn’t work. (notice the reference to seek_media even though I have chosen play_media’)
Any help would be grateful. I’m running 2020.12.1 of HA.
How do you confirm that it doesn’t work in the automation? Could as well be that the trigger or a condition you have is not working. Please show the full automation and please post code (and format it correctly), no pictures.
It’s a script not an automation, there are other actions that are called in the flow that do trigger when I run the script so I know the script works, the ‘sound’ action is called at the beginning of the script but doesn’t trigger.
The photos were to illustrate that it works as a service call vs the script action but see below for the action as yaml:
No errors. I mentioned that the screenshot referenced ‘seek media’ as opposed to ‘play media’ so wondering if this is a bug with the latest release of simple a typo.