mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Closes #812 - Control over C By GE lightStrip via Alexa Routines. Amazing.
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user