Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 452 Bytes
---
alias: Lighting Off - FF Livingroom
trigger:
- entity_id: switch.occ_room_studio
platform: state
to: 'off'
for:
seconds: 90
condition:
condition: and
conditions:
- condition: state
entity_id: switch.occ_room_studio
state: 'off'
- condition: template
value_template: "{{ not is_state('sensor.house_scene', 'Going To Bed') }}"
action:
- service: light.turn_off
data:
entity_id: light.gf_studio_celing
You can’t perform that action at this time.