Hi, I would like the volume step to be 1 instead of 5. The volume increases/decreases too great that makes listening to music unusable.
The reason behind this is because I am using the HA Squeezebox entity in Remote 2 (https://www.unfoldedcircle.com) and the media player is using the value defined in homeassistant/components/squeezebox/media_player.py:
async def async_volume_up(self) -> None:
"""Volume up media player."""
await self._player.async_set_volume("+5")
async def async_volume_down(self) -> None:
"""Volume down media player."""
await self._player.async_set_volume("-5")
I did a test myself by modifying the value and they work. The volume step on R2 is now 1, which was previously 5.
I am not sure if this can be flagged as a bug so I requested a feature instead.
No it is not possible. I don’t want to have any scripts or workarounds just to make the volume work. I know you can do this in HA and I am familiar with scripts and automations. It is not that. It should just work out of the box with the correct volume step. I just add it as a media player in R2 and it takes the HA attributes as defined in the media_player.py of Squeezebox. I wonder why the volume up/down is 5. This is not normal.
The author had to choose something. S/he chose 5. As you have identified, you can change it in the source. I suggest converting to a custom component and setting what you want.