Problem with media_player.volume_mute

Running media_player.volume_mute with the data entity_id: results in

required key not provided @ data['is_volume_muted']

Any clues? is a squeezebox device.

As the error message says you need the key “is_volume_muted” as well.

      - service: media_player.volume_mute
          entity_id: media_player.soundbar
          is_volume_muted: true

1 Like

As Dennis pointed out, you need the is_volume_muted service data attribute. The docs mention that it is not an optional attribute.

Thank you both. Kinda ironic that, given the time I spend on the forum referring people to the docs :slight_smile:

1 Like