Closes #812 - Control over C By GE lightStrip via Alexa Routines. Amazing.

This commit is contained in:
ccostan
2020-07-19 18:50:16 -04:00
parent 3df4ef4d90
commit ef25093a98
5 changed files with 26 additions and 10 deletions

View File

@@ -7,15 +7,24 @@
##################################################
## Scripts
## Called in the AWAY script to shut all devices down.
##################################################
script:
paige_lights_off:
alias: 'Paige Lights Off'
id: 02cd5dfb-ef38-4d00-9c62-0d0b16a62d31
sequence:
- service: media_player.play_media
data:
entity_id: media_player.upstairs
media_content_id: paigelightoff
media_content_type: routine
alias: 'Paige ALL Lights Off'
sequence:
- service: media_player.play_media
data:
entity_id: media_player.paige_room
media_content_id: paigelightoff
media_content_type: routine
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

View File

@@ -16,6 +16,9 @@ automation:
- condition: state
entity_id: group.family
state: 'home'
- condition: numeric_state
entity_id: sensor.blitzortung_lightning_counter
above: 0
action:
- service: script.notify_engine