Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (27 sloc) 646 Bytes
---
alias: Occ Empty - FF Bedroom
trigger:
- entity_id: switch.occ_room_bedroom
platform: state
from: 'on'
to: 'off'
for:
seconds: 90
condition:
condition: and
conditions:
- condition: state
entity_id: switch.occ_room_bedroom
state: 'off'
- condition: template
value_template: "{{ not is_state('sensor.house_scene', 'Going To Bed') }}"
action:
- service: light.turn_off
data:
entity_id: group.light_ff_bedroom
- service: switch.turn_off
data:
entity_id: switch.ff_bedroom_tv_switch
- service: switch.turn_off
data:
entity_id: switch.ff_bedroom_fairylights_switch
You can’t perform that action at this time.