Lightning alert extended to light strip
This commit is contained in:
@ -1688,32 +1688,33 @@ script:
|
|||||||
data:
|
data:
|
||||||
scene_id: lightning_alert_restore
|
scene_id: lightning_alert_restore
|
||||||
snapshot_entities:
|
snapshot_entities:
|
||||||
- light.living_room_color_1
|
|
||||||
- light.living_room_color_2
|
|
||||||
- light.living_room_color_3
|
|
||||||
- light.tina_lamp_side
|
- light.tina_lamp_side
|
||||||
- light.tina_lamp_top
|
- light.tina_lamp_top
|
||||||
- light.tina_desk_strip
|
- light.tina_desk_strip
|
||||||
|
- light.dining_room_lamp
|
||||||
- switch.adaptive_lighting_living_room
|
- switch.adaptive_lighting_living_room
|
||||||
- switch.adaptive_lighting_tina_lamp
|
- switch.adaptive_lighting_tina_lamp
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- switch.adaptive_lighting_living_room
|
|
||||||
- switch.adaptive_lighting_tina_lamp
|
- switch.adaptive_lighting_tina_lamp
|
||||||
- delay:
|
- delay:
|
||||||
milliseconds: 500
|
milliseconds: 500
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.living_room_color_1
|
|
||||||
- light.living_room_color_2
|
|
||||||
- light.living_room_color_3
|
|
||||||
- light.tina_lamp_side
|
- light.tina_lamp_side
|
||||||
- light.tina_lamp_top
|
- light.tina_lamp_top
|
||||||
- light.tina_desk_strip
|
- light.tina_desk_strip
|
||||||
data:
|
data:
|
||||||
color_name: red
|
color_name: red
|
||||||
|
- service: light.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: light.dining_room_lamp
|
||||||
|
- service: script.living_room_lights_alert
|
||||||
|
data:
|
||||||
|
type: red
|
||||||
|
duration: 10
|
||||||
- service: script.status_annc
|
- service: script.status_annc
|
||||||
data:
|
data:
|
||||||
who: common
|
who: common
|
||||||
|
Reference in New Issue
Block a user