I am also looking for the answer to this. Did you get this to work? If so could you post your findings?
There really is not much information or documentation on the HA-Bridge which is a shame.
This sets the volume to “0” on my AVR (volume_level: 1 in HASS) with any numerical input. 0 is the loudest it can go and the minimum volume is - 80 (which Hass reports as “volume_level: 0.19”) so after thinking about it tonight I reckon it’s got something to do with the negative decimal number and is probably to do with my AVR.
At the moment I am trying to work out how to convert a number between 1 and 100 from the Alexa input to a number between 0 and -0.8 but I think I need to find some sort of online calculator to test with. This is where I’m at.
Value needs to be divided by 255, not 100 as it’s a pretend light. This now gives me two steps in volume control, anything above an input value of 35 sets the media player at maximum volume, anything below sets it to minimum volume.
@BarryHampants that worked great. Thanks for posting back your findings. I can now set the volume on my Sonos.
For anyone that may review this and have the same issue I have added a photo of my setup in HA-Bridge
Apparently the reason is that Ha Bridge is unable to create a decimal value using .math so I guess the voice commands were being rounded to either 1 or 0.
I’ve tried several of my media players now and so far it works with all of them, using both Alexa and Google Home.