Media_player.volume_up And down goes 10 steps at a time

Hi, I’ m using a call-service to up and down the volume of my soundbar but I’m having a problem. The service send 10 steps at a time every time I tap the button goes from 0 to 10 to 20 etc. Is posible to change that and send 1 step at a time?

The state attribute in my device is volume_level: 0.1

  action: call-service
  service: media_player.volume_up
  data: {}
    entity_id: media_player.lgsoundbar

Thanks in advance

i don’t know of a way to set that increment. i think you’d use volume_set if you want to control it yourself.

1 Like

I looked at this a while ago. The step is set in each integration. volume_set is the way to go.

1 Like

Thank you both. Solved with volume_set

  action: call-service
  service: media_player.volume_set
    volume_level: |
       return states['media_player.lgsoundbar'].attributes.volume_level + 0.01

1 Like