House Scene - Going to Bed, After 10 Minutes

View All Rules

alias: House Scene - Going to Bed, After 10 Minutes
trigger:
  - entity_id: sensor.house_scene
    platform: state
    to: 'Going To Bed'
    for:
      minutes: 15
action:
  - service: climate.set_temperature
    data:
      entity_id: climate.hallway
      temperature: 10
  - service: switch.turn_off
    data:
      entity_id: switch.occ_room_kitchen
  - service: switch.turn_off
    data:
      entity_id: switch.occ_room_livingroom
  - service: switch.turn_off
    data:
      entity_id: switch.occ_room_studio
  - service: light.turn_off
    data:
      entity_id: group.light_gf_living
  - service: light.turn_off
    data:
      entity_id: group.light_gf_kitchen
  - service: light.turn_off
    data:
      entity_id: group.light_gf_dinning
  - service: light.turn_off
    data:
      entity_id: light.gf_studio_celing
  - service: light.turn_off
    data:
      entity_id: group.light_gf_dinning

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