Family State Everyone Wakes Up

View All Rules

alias: Family State Everyone Wakes Up
trigger:
  # We're Both Asleep
  - entity_id: sensor.family_family_state_raw
    platform: state
    from: '12'
    to: '6'
  # Stuart's Asleep Alone
  - entity_id: sensor.family_family_state_raw
    platform: state
    from: '11'
    to: '5'
  # Kareens's Asleep Alone
  - entity_id: sensor.family_family_state_raw
    platform: state
    from: '10'
    to: '4'
action:
  - service: homeassistant.update_entity
    data:
      entity_id: sensor.commute_stuart_work
  - service: homeassistant.update_entity
    data:
      entity_id: sensor.commute_kareen_work_a
  - service: homeassistant.update_entity
    data:
      entity_id: sensor.commute_kareen_work_b


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