mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Use media_player join and unjoin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user