Contact Open - Front Door

View All Rules

alias: Contact Open - Front Door
trigger:
  - entity_id: binary_sensor.xd_front
    platform: state
    to:  'on'
action:
  - service: script.notify_tts_room
    data_template:
      room: "study"
      value1: "The front door is open"
  - service: script.notify_tts_room
    data_template:
      room: "bedroom"
      value1: "The front door is open"
  - condition: and
    conditions:
      - condition: numeric_state
        entity_id: sensor.family_family_state_raw
        below: '7'
      - condition: state
        entity_id: input_boolean.text_notifications
        state: 'on'
  - service: notify.signal_stuart
    data:
      message: "The front door is open"


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