Weekday Alarm Call

View All Rules

#RC# Plex Scripting Some comments about the script bellow. Nothing Fancy, just words or thoughts

alias: Weekday Alarm Call
trigger:
  platform: time
  at: '05:45:00'
condition:
  condition: and
  conditions:
    - condition: numeric_state
      entity_id: sensor.family_family_state_raw
      above: '7'
    - condition: time
      # At least one of the following is required.
      after: '05:00:00'
      before: '07:00:00'
      weekday:
        - mon
        - tue
        - wed
        - thu
        - fri
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.