2020-07-19 21:09:28 +00:00
|
|
|
#-------------------------------------------
|
|
|
|
# C by GE Lights - https://amzn.to/30w3UWy
|
|
|
|
# @CCOSTAN
|
|
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
2021-04-22 17:47:13 +00:00
|
|
|
# Changing the way we call these routines.. no longer using routines.. using custom commands via ALEXA Media Player.
|
2020-07-19 23:19:41 +00:00
|
|
|
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/812
|
2020-07-19 21:09:28 +00:00
|
|
|
#-------------------------------------------
|
|
|
|
|
|
|
|
##################################################
|
|
|
|
## Scripts
|
2020-07-19 22:50:16 +00:00
|
|
|
## Called in the AWAY script to shut all devices down.
|
2020-07-19 21:09:28 +00:00
|
|
|
##################################################
|
|
|
|
|
|
|
|
script:
|
|
|
|
paige_lights_off:
|
2020-07-19 22:50:16 +00:00
|
|
|
alias: 'Paige ALL Lights Off'
|
|
|
|
sequence:
|
|
|
|
- service: media_player.play_media
|
|
|
|
data:
|
2021-04-24 20:41:58 +00:00
|
|
|
entity_id: media_player.tap
|
2021-04-22 17:47:13 +00:00
|
|
|
media_content_id: 'turn off paige bed'
|
|
|
|
media_content_type: custom
|
|
|
|
|
2020-07-19 22:50:16 +00:00
|
|
|
paige_lights_on:
|
|
|
|
alias: 'Paige Lights On - Just Overhead'
|
|
|
|
sequence:
|
|
|
|
- service: media_player.play_media
|
|
|
|
data:
|
|
|
|
entity_id: media_player.paige_room
|
|
|
|
media_content_id: paigelighton
|
|
|
|
media_content_type: routine
|
2020-07-20 00:16:03 +00:00
|
|
|
|
|
|
|
garage_lights_off:
|
|
|
|
alias: 'ALL Garage Lights Off'
|
|
|
|
sequence:
|
2021-04-22 17:47:13 +00:00
|
|
|
|
2020-07-20 00:16:03 +00:00
|
|
|
- service: media_player.play_media
|
|
|
|
data:
|
2021-04-24 20:41:58 +00:00
|
|
|
entity_id: media_player.tap
|
2021-04-22 17:47:13 +00:00
|
|
|
media_content_id: 'turn off c life 3'
|
|
|
|
media_content_type: custom
|
|
|
|
|
|
|
|
- delay: "00:01:30"
|
|
|
|
|
|
|
|
- service: media_player.play_media
|
|
|
|
data:
|
2021-04-24 20:41:58 +00:00
|
|
|
entity_id: media_player.tap
|
2021-04-22 17:47:13 +00:00
|
|
|
media_content_id: 'turn off c life 4'
|
|
|
|
media_content_type: custom
|
|
|
|
|
|
|
|
- delay: "00:01:30"
|
|
|
|
|
|
|
|
- service: media_player.play_media
|
|
|
|
data:
|
2021-04-24 20:41:58 +00:00
|
|
|
entity_id: media_player.tap
|
2021-04-22 17:47:13 +00:00
|
|
|
media_content_id: 'turn off c sleep 1'
|
|
|
|
media_content_type: custom
|
|
|
|
|
|
|
|
- delay: "00:01:30"
|
|
|
|
|
|
|
|
- service: media_player.play_media
|
|
|
|
data:
|
2021-04-24 20:41:58 +00:00
|
|
|
entity_id: media_player.tap
|
2021-04-22 17:47:13 +00:00
|
|
|
media_content_id: 'turn off c sleep 2'
|
|
|
|
media_content_type: custom
|