Contact Open - Back Door

View All Rules

alias: Contact Open - Back Door
trigger:
  - entity_id: binary_sensor.xd_studio
    platform: state
    to:  'on'
action:
  - service: script.notify_tts_room
    data_template:
      room: "kitchen"
      value1: "The Back door is open"
  - service: script.notify_tts_room
    data_template:
      room: "study"
      value1: "The Back door is open"
  - service: script.notify_tts_room
    data_template:
      room: "bedroom"
      value1: "The Back 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 Back door is open'


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