Use media_player join and unjoin

This commit is contained in:
2022-06-07 10:55:32 +03:00
parent 4f1a1da1b2
commit 85b6d36f70
7 changed files with 28 additions and 29 deletions
@@ -104,12 +104,12 @@ automation:
- service: automation.turn_off
entity_id: automation.tv_sonos_join_tv_on_google_cast
- service: sonos.join
entity_id:
- media_player.kitchen
- media_player.bathroom
- service: media_player.joing
entity_id: media_player.master_bedroom
data:
master: media_player.master_bedroom
group_members:
- media_player.kitchen
- media_player.bathroom
# Music play, without the join
- service: media_player.volume_set
+1 -1
View File
@@ -35,7 +35,7 @@ script:
tv_prepare_for_playback:
alias: TV · Prepare for playback
sequence:
- service: sonos.unjoin
- service: media_player.unjoin
entity_id: media_player.living_room
- service: media_player.select_source
entity_id: media_player.living_room