Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (46 sloc) 1.19 KB
---
alias: Welcome Lights when Front Door Open
trigger:
- entity_id: binary_sensor.xd_front
platform: state
to: 'on'
- entity_id: binary_sensor.motion_gf_hallway_camera
platform: state
to: 'on'
condition:
condition: and
conditions:
- condition: state
entity_id: 'light.gf_hallway_celing'
state: 'off'
- condition: numeric_state
entity_id: sensor.family_family_state_raw
below: 7 # Anyone Awake
above: 1
- condition: or
conditions:
- condition: state
entity_id: sensor.light_scene
state: Night
- condition: state
entity_id: sensor.light_scene
state: Morning
- condition: state
entity_id: sensor.light_scene
state: Sunset
- condition: state
entity_id: sensor.light_scene
state: Dusk
- condition: state
entity_id: sensor.light_scene
state: Dawn
- condition: state
entity_id: sensor.light_scene
state: Sunrise
action:
- service: light.turn_on
data:
entity_id: light.gf_hallway_celing
brightness: 150
rgb_color: [255,207,120]
effect: none
You can’t perform that action at this time.