More Sonos automations

This commit is contained in:
2020-04-06 01:00:08 +03:00
parent 5ac4b12a42
commit 7c05344509
6 changed files with 31 additions and 8 deletions
+24 -3
View File
@@ -27,13 +27,34 @@ binary_sensor:
{% endif %}
script:
music_join_sonoses:
alias: Music · Join Sonoses
sonos_join_bedroom:
alias: Sonos · Join to Bedroom
sequence:
- service: sonos.join
entity_id: group.all_sonos
data_template:
data:
master: media_player.master_bedroom
sonos_join_tv:
alias: Sonos · Join to TV
sequence:
- service: sonos.join
entity_id: group.all_sonos
data:
master: media_player.living_room
sonos_bathroom_up:
alias: Sonos · Bathroom up
sequence:
- service: media_player.volume_set
entity_id: media_player.bathroom
data:
volume_level: 0.5
sonos_bathrom_down:
alias: Sonos · Bathroom down
sequence:
- service: media_player.volume_set
entity_id: media_player.bathroom
data:
volume_level: 0.2
homeassistant:
customize: