Command_volume_level has stopped working

Hi,

I used the following yaml configuration to set the volume on my phone which has the Home Assistant app installed on it. It has worked for years but now appears to be ignoring the requests.

  • data:
    message: command_volume_level
    data:
    media_stream: ring_stream
    command: 20
    action: notify.mobile_app_pixel_9_pro_xl
  • data:
    message: command_volume_level
    data:
    media_stream: notification_stream
    command: 20
    action: notify.mobile_app_pixel_9_pro_xl
  • data:
    message: command_volume_level
    data:
    media_stream: music_stream
    command: 20
    action: notify.mobile_app_pixel_9_pro_xl

Can anyone offer any advice please in how I can get this to work again. I thought it may of been a permission on my phone but I cant see any that would indicate this.

Thanks

Hello Stephen Baron,
Thanks for coming here and asking a question.
Would you be so kind as to adjusting the format of your code so that we can read it properly & check the YAML spacing, etc. Editing your original is the preferred way. It is very hard for us to tell what is what when the text formatter jumbles everything like that.
You can use the </> button like this… How to format your code in forum posts
OR… Here is an example of how to fix formatting from the site FAQ Page.
How to help us help you - or How to ask a good question .