Lighting Family State - Stuart's Asleep

View All Rules

alias: Lighting Family State - Stuart's Asleep
trigger:
  - entity_id: sensor.family_family_state_raw
    platform: state
condition:
- condition: state
  entity_id: sensor.family_family_state_raw
  state: '9'
- condition: or
  conditions:
    - condition: state
      entity_id: sensor.light_scene
      state: Sunset
    - condition: state
      entity_id: sensor.light_scene
      state: Night
action:
  - service: light.turn_on
    data:
      entity_id: light.ff_bedroom_bedside_kareen
      transition: 5
      rgb_color: [255,207,120]
      brightness: 10
  - service: light.turn_on
    data:
      entity_id: light.ff_landing_celing
      transition: 5
      rgb_color: [255,207,120]
      brightness: 50

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