Update Lighting Package

This commit is contained in:
2022-05-15 15:28:00 -07:00
parent 163ce26ee1
commit 3dd1220839
2 changed files with 25 additions and 0 deletions

View File

@@ -2,3 +2,7 @@
This package contains configuration information for lighting. It depends on This package contains configuration information for lighting. It depends on
multiple Zigbee and Z-Wave entities, which must be set up separately. multiple Zigbee and Z-Wave entities, which must be set up separately.
## Smart Switch Setup
Use the "Switch as X" integration to map the in-wall smart switches to light entities.

View File

@@ -32,3 +32,24 @@ automation:
device_id: a9a219b3e184e045a40959605b4c2be0 device_id: a9a219b3e184e045a40959605b4c2be0
entity_id: light.jp_nightstand_light entity_id: light.jp_nightstand_light
domain: light domain: light
- alias: Turn On Porch Light after Chorale
trigger:
- platform: zone
entity_id: person.jpk
zone: zone.chorale_performance
event: leave
- platform: zone
entity_id: person.jpk
zone: zone.chorale_rehearsal
event: leave
condition:
- condition:
alias: "Sun down"
condition: state
entity_id: sun.sun
state: "below_horizon"
mode: queued
action:
- service: light.turn_on
entity_id: light.porch_light