Romm Assistant WIP
This commit is contained in:
parent
dbace6d631
commit
f20b3af986
@ -32,6 +32,15 @@
|
|||||||
entity_id: media_player.bathroom
|
entity_id: media_player.bathroom
|
||||||
state: playing
|
state: playing
|
||||||
action:
|
action:
|
||||||
|
- choose:
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: media_player.bedroom
|
||||||
|
state: playing
|
||||||
|
sequence:
|
||||||
|
- service: sonos.join
|
||||||
|
data:
|
||||||
|
master: media_player.bedroom
|
||||||
- service: sonos.unjoin
|
- service: sonos.unjoin
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.bathroom
|
entity_id: media_player.bathroom
|
||||||
@ -61,7 +70,7 @@
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: sensor.przemyslaws_apple_watch_room_presence
|
entity_id: sensor.przemyslaws_apple_watch_room_presence
|
||||||
from: ra-bathroom
|
from: ra-bedroom
|
||||||
for: '0:01:00'
|
for: '0:01:00'
|
||||||
condition:
|
condition:
|
||||||
- condition: or
|
- condition: or
|
||||||
@ -70,6 +79,15 @@
|
|||||||
entity_id: media_player.bedroom
|
entity_id: media_player.bedroom
|
||||||
state: playing
|
state: playing
|
||||||
action:
|
action:
|
||||||
|
- choose:
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: media_player.bathroom
|
||||||
|
state: playing
|
||||||
|
sequence:
|
||||||
|
- service: sonos.join
|
||||||
|
data:
|
||||||
|
master: media_player.bathroom
|
||||||
- service: sonos.unjoin
|
- service: sonos.unjoin
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.bedroom
|
entity_id: media_player.bedroom
|
||||||
|
Loading…
Reference in New Issue
Block a user