Weekend Alarm Call

View All Rules

alias: Weekend Alarm Call
trigger:
  platform: time
  at: '07:00:00'
condition:
  condition: and
  conditions:
    - condition: numeric_state
      entity_id: sensor.family_stuart_state
      above: '8'
    - condition: time
      # At least one of the following is required.
      after: '05:00:00'
      before: '07:30:00'
      weekday:
        - sat
        - sun
action:
- service: script.turn_on
  data:
    entity_id: script.alarm_goodmorning


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