mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 10:18:44 +00:00
Use sonos leader for cube automations
This commit is contained in:
@@ -65,7 +65,8 @@ automation:
|
|||||||
command: knock
|
command: knock
|
||||||
action:
|
action:
|
||||||
- service: media_player.media_play_pause
|
- service: media_player.media_play_pause
|
||||||
entity_id: group.all_sonos
|
data_template:
|
||||||
|
entity_id: "{{ states('input_select.sonos_leader') }}"
|
||||||
|
|
||||||
- id: music_volume_down_on_cube_rotate_left
|
- id: music_volume_down_on_cube_rotate_left
|
||||||
alias: Music · Volume down on Magic Cube rotate left
|
alias: Music · Volume down on Magic Cube rotate left
|
||||||
@@ -77,7 +78,8 @@ automation:
|
|||||||
command: rotate_left
|
command: rotate_left
|
||||||
action:
|
action:
|
||||||
- service: media_player.volume_down
|
- service: media_player.volume_down
|
||||||
entity_id: group.all_sonos
|
data_template:
|
||||||
|
entity_id: "{{ states('input_select.sonos_leader') }}"
|
||||||
|
|
||||||
- id: music_volume_up_on_cube_rotate_right
|
- id: music_volume_up_on_cube_rotate_right
|
||||||
alias: Music · Volume up on Magic Cube rotate right
|
alias: Music · Volume up on Magic Cube rotate right
|
||||||
@@ -89,4 +91,5 @@ automation:
|
|||||||
command: rotate_right
|
command: rotate_right
|
||||||
action:
|
action:
|
||||||
- service: media_player.volume_up
|
- service: media_player.volume_up
|
||||||
entity_id: group.all_sonos
|
data_template:
|
||||||
|
entity_id: "{{ states('input_select.sonos_leader') }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user