Volume command not working since last app upgrade (after updating to new schema)

Looks like since the recent Companion app update to version 2022.8.0 the commands to change the volume doesn’t work anymore
I have updated the notification schema according to the new docs (from title to data: command:)
A sample current config:

service: notify.mobile_app_pixel_5
data:
  message: command_volume_level
  data:
    command: 0
    media_stream: music_stream

But the app simply shows a notification with this message

Tried to put the command under quotation marks and without, no change.

I’ve also restarted both the app and HA server.
Any thoughts?

here is a working service call to change the ringer volume for my android device:

      - service: notify.mobile_app_my_mobile_app
        data:
          message: "command_volume_level"
          data:
            media_stream: "ring_stream"
            command: "{{volume_level}}"

I send the volume level (i.e. 100) from an automation.

It looks the same as yours so I’m not sure why yours isn’t working.

1 Like

Once I’ve set the command value under quotation marks, it started working (that’s another breaking change, it worked without it):

service: notify.mobile_app_pixel_5
data:
  message: command_volume_level
  data:
    command: "0"
    media_stream: music_stream
1 Like

interesting.

I have the same issue. Doesn’t work even with the quotes.

same for me, worked fine but suddenly stoped working

Im dumb af

It Works fine :man_facepalming:

I just discovered that 0 (without quotes) does not work (as stated by others before) but that -1 (without quotes) works, i.e., reduces volume to zero/off.

In Node-RED, “0” (with quotes) works fine.