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
+3 -3
View File
@@ -9,10 +9,10 @@ blueprint:
integration: media_player
sequence:
- service: sonos.join
entity_id: !input join_player
- service: media_player.join
data_template:
master: >-
group_members: !input join_player
entity_id: >-
{% if is_state('binary_sensor.sonos_is_living_room_master', 'on') %}
media_player.living_room
{% else %}