Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (23 sloc) 511 Bytes
---
alias: Lighting Off - GF
trigger:
- entity_id: switch.occ_room_livingroom
platform: state
to: 'off'
- entity_id: switch.occ_room_kitchen
platform: state
to: 'off'
condition:
- condition: state
entity_id: switch.occ_room_livingroom
state: 'off'
- condition: state
entity_id: switch.occ_room_kitchen
state: 'off'
action:
- service: light.turn_off
data:
entity_id: light.gf_hallway_celing
- service: switch.turn_off
data:
entity_id: switch.gf_living_light_jar_switch
You can’t perform that action at this time.