Adjust other players using Voice PE Volume Dial

Hi! I like the convenient volume dial on the Voice PE and would like to use it to control other media players’ (player provider) volume. Is there a way to link them directly or would I need to use the volume attribute of the Voice PE entity for that? If so, how would I best go about this?

You can link with automation in HA

1 Like

Could use some help with this. Template Editor shows the correct value for the attribute and the automation is being triggered when I change the volume but it is not setting the target volume:

alias: Volume Match
description: ""
triggers:
  - trigger: state
    entity_id:
      - media_player.home_assistant_voice_0a0524_media_player
    attribute: volume_level
conditions: []
actions:
  - action: media_player.volume_set
    metadata: {}
    data:
      attribute: >-
        state_attr('media_player.home_assistant_voice_0a0524_media_player','volume_level')
    target:
      entity_id: media_player.squeezeplay_b8_27_eb_9a_cd_e4
mode: single

replace the media players below. you can target multiple

alias: set volume
description: ""
triggers:
  - trigger: state
    entity_id:
      - media_player.hav_0a0f27_media_player_2
    attribute: volume_level
conditions: []
actions:
  - action: media_player.volume_set
    metadata: {}
    data:
      volume_level: "{{ state_attr('media_player.hav_0a0f27_media_player_2', 'volume_level') | float }}"
    target:
      entity_id: media_player.voicewave_db28e8
mode: single
3 Likes