House Scene - Going to Bed

View All Rules

alias: House Scene - Going to Bed
trigger:
  - entity_id: sensor.house_scene
    platform: state
    to: 'Going To Bed'
action:
  - service: climate.set_temperature
    data:
      entity_id: climate.hallway
      temperature: 10
  - service: remote.turn_off
    data:
      entity_id: remote.living_room
  - service: script.turn_on
    data:
      entity_id: script.unifi_lights_off
  - service: switch.turn_off
    data:
      entity_id: switch.gf_living_light_jar_switch
  - service: switch.turn_off
    data:
      entity_id: switch.wh_seasonal_one_switch
  - service: switch.turn_off
    data:
      entity_id: switch.wh_seasonal_two_switch
  - service: switch.turn_off
    data:
      entity_id: switch.wh_seasonal_three_switch
  # Setup the livingroom
  - service: light.turn_on
    data:
      entity_id: light.gf_living_celing
      brightness: 60
      rgb_color: [255,207,120]
      transition: 3
  - service: light.turn_off
    data:
      entity_id: light.gf_living_lamp
      transition: 3
  - service: light.turn_on
    data:
      entity_id: light.gf_studio_celing
      brightness: 75
      rgb_color: [255,207,120]
      transition: 3
  - service: light.turn_off
    data:
      entity_id: light.gf_dinning_cooker
  - service: light.turn_off
    data:
      entity_id: light.gf_dinning_door_way
  - service: switch.turn_off
    data:
      entity_id: switch.gf_dinning_tv_switch
  - service: light.turn_off
    data:
      entity_id: light.gf_dinning_at_kitchen
  - service: light.turn_off
    data:
      entity_id: light.gf_dinning_dinner_table
  # Setup the kitchen
  - service: light.turn_on
    data:
      entity_id: light.gf_dinning_dishwahser
      brightness: 150
      transition: 3
  - service: light.turn_on
    data:
      entity_id: light.gf_dinning_sink
      brightness: 150
      transition: 3
  - service: light.turn_on
    data:
      entity_id: light.gf_dinning_display_unit
      brightness: 150
      transition: 3
  # Setup the Hallways
  - service: light.turn_on
    data:
      entity_id: light.gf_hallway_celing
      rgb_color: [255,207,120]
      transition: 5
  - service: light.turn_on
    data:
      entity_id: light.ff_landing_celing
      brightness: 150
      rgb_color: [255,207,120]
      transition: 5
  # Setup the Bedroom
  - service: light.turn_off
    data:
      entity_id: light.ff_bedroom_celing
  - service: switch.turn_on
    data:
      entity_id: switch.ff_bedroom_fairylights_switch
  - service: light.turn_on
    data:
      entity_id: light.ff_bedroom_bedside_kareen
      brightness: 150
  - service: light.turn_on
    data:
      entity_id: light.ff_bedroom_bedside_stuart
      brightness: 150
  - service: switch.turn_on
    data:
      entity_id: switch.ff_bedroom_charger_stuart
  - service: shell_command.shell_plex_music_evening
  - service: script.turn_on
    data:
      entity_id: script.alexa_do_not_disturb_switch_on
  - delay: 00:05:00
  - service: switch.turn_off
    data:
      entity_id: switch.gf_living_tv_switch

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