Skip to content

Commit

Permalink
Alexa Kodi start/stop
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed May 25, 2018
1 parent 0fd5632 commit 50726c1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions customize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ script.receiver_set_source_media_player:
script.receiver_set_source_dvd:
emulated_hue_hidden: false
emulated_hue_name: "Receiver Kodi"
script.kodi_pause:
emulated_hue_hidden: false
emulated_hue_name: "Kodi Stop"
script.kodi_play:
emulated_hue_hidden: false
emulated_hue_name: "Kodi Start"
light.bar_table:
emulated_hue_hidden: false
emulated_hue_name: "Bar"
Expand Down
12 changes: 12 additions & 0 deletions scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ receiver_set_source_dvd:
data:
source: 'DVD/Blu-ray'
#################################################################
## Kodi
#################################################################
kodi_pause:
sequence:
- service: media_player.media_pause
entity_id: media_player.kodi

kodi_play:
sequence:
- service: media_player.media_play
entity_id: media_player.kodi
#################################################################
## Bar Table
#################################################################
bar_table_green:
Expand Down

0 comments on commit 50726c1

Please sign in to comment.