Family State Everyone's Asleep

View All Rules

alias: Family State Everyone's Asleep
trigger:
  # We're Both Asleep
  - entity_id: sensor.family_family_state_raw
    platform: state
    to: '12'
  # Stuart's Asleep Alone
  - entity_id: sensor.family_family_state_raw
    platform: state
    to: '11'
  # Kareens's Asleep Alone
  - entity_id: sensor.family_family_state_raw
    platform: state
    to: '10'
action:
  - service: script.turn_on
    data:
      entity_id: script.family_state_9


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