Lightning alerts now use lighting effects #62
This commit is contained in:
@ -1572,11 +1572,34 @@ script:
|
||||
- condition: state
|
||||
entity_id: input_boolean.audible_notifications
|
||||
state: 'on'
|
||||
- service: scene.create
|
||||
scene_id: lightning_alert_restore
|
||||
snapshot_entities:
|
||||
- light.living_room_color_1
|
||||
- light.living_room_color_2
|
||||
- light.living_room_color_3
|
||||
- light.tina_lamp_side
|
||||
- light.tina_lamp_top
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- light.living_room_color_1
|
||||
- light.living_room_color_2
|
||||
- light.living_room_color_3
|
||||
- light.tina_lamp_side
|
||||
- light.tina_lamp_top
|
||||
data:
|
||||
color_name: red
|
||||
- service: script.status_annc
|
||||
data_template:
|
||||
who: 'common'
|
||||
call_interuption: 1
|
||||
call_lightning_alert: 1
|
||||
- delay:
|
||||
seconds: 10
|
||||
- service: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.lightning_alert_restore
|
||||
|
||||
lightning_clear_audible:
|
||||
sequence:
|
||||
|
Reference in New Issue
Block a user