mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
Add input_select for sonos leader
This commit is contained in:
@@ -7,16 +7,14 @@ script:
|
||||
entity_id: light.bedside_light
|
||||
- service: fan.turn_on
|
||||
entity_id: fan.philips_airpurifier
|
||||
- service: sonos.unjoin
|
||||
entity_id: group.all_sonos
|
||||
- service: media_player.volume_set
|
||||
entity_id: media_player.master_bedroom
|
||||
data:
|
||||
volume_level: 0.15
|
||||
|
||||
# Turn off everything else
|
||||
- service: sonos.unjoin
|
||||
entity_id:
|
||||
- media_player.living_room
|
||||
- media_player.kitchen
|
||||
- service: media_player.turn_off
|
||||
entity_id:
|
||||
- media_player.nvidia_shield
|
||||
|
||||
@@ -10,6 +10,7 @@ script:
|
||||
- media_player.nvidia_shield
|
||||
- media_player.living_room_tv
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.master_bedroom
|
||||
data_template:
|
||||
entity_id: "{{ states('input_select.sonos_leader') }}"
|
||||
- service: light.turn_off
|
||||
entity_id: light.all_lights
|
||||
|
||||
Reference in New Issue
Block a user