Occ Empty - FF Study

View All Rules

alias: Occ Empty - FF Study
trigger:
  - platform: state
    entity_id: switch.occ_room_study
    from: 'on'
    to: 'off'
    for:
      seconds: 90
condition:
  condition: and
  conditions:
    - condition: state
      entity_id: switch.occ_room_study
      state: 'off'
action:
  - service: light.turn_off
    data:
      entity_id: group.light_ff_study
  - service: switch.turn_off
    data:
      entity_id: switch.ff_study_monitors_switch
  - service: switch.turn_off
    data:
      entity_id: switch.ff_study_sterio_switch


© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.