Problem with media_player.volume_mute

Running media_player.volume_mute with the data entity_id: media_player.kitchen results in

required key not provided @ data['is_volume_muted']

Any clues? media_player.kitchen is a squeezebox device.

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

      - service: media_player.volume_mute
        data:
          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