Skip to content

Commit

Permalink
change the media player source for "SAT"
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Oct 4, 2018
1 parent 925f2d7 commit ec01b0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alexa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
- media_player.spotify
- group.all
- group.livingroom
- script.receiver_set_source_cbl_sat
- script.receiver_set_source_bluetooth
- script.receiver_set_source_media_player
- script.receiver_set_source_dvd
- script.receiver_set_source_gaming
Expand Down Expand Up @@ -181,9 +181,9 @@
group.livingroom:
name: Wohnzimmer
description: Alles im Wohnzimmer
script.receiver_set_source_cbl_sat:
script.receiver_set_source_bluetooth:
name: Sat
description: Schalte Receiver auf Sat / Alexa
description: Schalte Receiver auf Bluetooth / Alexa
display_categories: SCENE_TRIGGER
script.receiver_set_source_media_player:
name: Receiver Mediaplayer
Expand Down
7 changes: 7 additions & 0 deletions scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ receiver_set_source_cbl_sat:
data:
source: 'CBL/SAT'

receiver_set_source_bluetooth:
sequence:
- service: media_player.select_source
entity_id: media_player.denon_avrx1300w
data:
source: 'Bluetooth'

receiver_set_source_media_player:
sequence:
- service: media_player.select_source
Expand Down

0 comments on commit ec01b0f

Please sign in to comment.