Doorbell alert extended to light strip
This commit is contained in:
@ -545,9 +545,9 @@ automation:
|
||||
data:
|
||||
scene_id: doorbell_lights_restore
|
||||
snapshot_entities:
|
||||
- light.living_room_color_1
|
||||
- light.living_room_color_2
|
||||
- light.living_room_color_3
|
||||
- light.living_room_overhead
|
||||
- light.living_room_led_strip
|
||||
- light.dining_room_lamp
|
||||
- light.tina_lamp_top
|
||||
- light.tina_lamp_side
|
||||
- light.tina_desk_strip
|
||||
@ -564,6 +564,10 @@ automation:
|
||||
entity_id:
|
||||
- switch.adaptive_lighting_tina_lamp
|
||||
- switch.adaptive_lighting_living_room
|
||||
- alias: "Turn dining room lamp off"
|
||||
service: light.turn_off
|
||||
target:
|
||||
entity_id: light.dining_room_lamp
|
||||
- alias: "Turn Lights On"
|
||||
service: light.turn_on
|
||||
target:
|
||||
@ -571,8 +575,20 @@ automation:
|
||||
- light.living_room_lights
|
||||
- light.tina_lamp
|
||||
- light.tina_desk_strip
|
||||
- light.living_room_led_strip
|
||||
data:
|
||||
color_name: green
|
||||
- alias: "Make LED strip flash"
|
||||
service: lifx.effect_pulse
|
||||
target:
|
||||
entity_id: light.living_room_led_strip
|
||||
data:
|
||||
power_on: true
|
||||
mode: ping
|
||||
period: 1
|
||||
cycles: 30
|
||||
color_name: white
|
||||
brightness: 255
|
||||
- alias: "End early if door opened"
|
||||
wait_template: "{{ is_state('binary_sensor.front_door','on') }}"
|
||||
timeout:
|
||||
@ -583,6 +599,10 @@ automation:
|
||||
entity_id: scene.doorbell_lights_restore
|
||||
- delay:
|
||||
seconds: 3
|
||||
- alias: "Stop LED strip effect"
|
||||
service: lifx.effect_stop
|
||||
target:
|
||||
entity_id: light.living_room_led_strip
|
||||
- alias: "Return Adaptive Lighting to previous state"
|
||||
service: scene.turn_on
|
||||
target:
|
||||
|
Reference in New Issue
Block a user