55 líneas
1.4 KiB
YAML
55 líneas
1.4 KiB
YAML
|
livingroom_music_on:
|
||
|
alias: Wohnzimmer Musik - An
|
||
|
sequence:
|
||
|
- service: light.turn_on
|
||
|
data:
|
||
|
entity_id: light.ambilight
|
||
|
# brightness: 255
|
||
|
# rgb_color: [255,125,0]
|
||
|
rgb_color: [0,255,62] # Spotify Green
|
||
|
brightness: 130
|
||
|
- service: switch.turn_on
|
||
|
data:
|
||
|
entity_id: switch.harmony_music_bt
|
||
|
- service: media_player.select_source
|
||
|
data:
|
||
|
entity_id: media_player.spotify
|
||
|
source: Wohnzimmer
|
||
|
# We have to wait for the AVR establishing a BT connection to the Dot
|
||
|
- delay:
|
||
|
seconds: 15
|
||
|
- service: media_player.media_play
|
||
|
data:
|
||
|
entity_id: media_player.spotify
|
||
|
|
||
|
livingroom_music_off:
|
||
|
alias: Wohnzimmer Musik - Aus
|
||
|
sequence:
|
||
|
- service: media_player.media_pause
|
||
|
data:
|
||
|
entity_id: media_player.spotify
|
||
|
- service: switch.turn_off
|
||
|
data:
|
||
|
entity_id: switch.harmony_music_bt
|
||
|
|
||
|
livingroom_netflix_on:
|
||
|
alias: Netflix
|
||
|
sequence:
|
||
|
- service: switch.turn_on
|
||
|
data:
|
||
|
entity_id: switch.harmony_firetv
|
||
|
- delay:
|
||
|
seconds: 6
|
||
|
- service: media_player.select_source
|
||
|
data:
|
||
|
entity_id: media_player.fire_tv
|
||
|
source: com.netflix.ninja
|
||
|
- delay:
|
||
|
seconds: 3
|
||
|
- service: remote.send_command
|
||
|
data:
|
||
|
entity_id: remote.livingroom_harmony
|
||
|
command:
|
||
|
- Ok
|
||
|
device: 42849848 #FireTv
|
||
|
delay_secs: 0.6
|