Her driving input_select - Almost There

View All Rules

alias: Her driving input_select - Almost There
trigger:
- platform: state
  entity_id: input_select.family_kareen_drive_dest_template
  to: 'is almost %DEST%'
condition:
  - condition: state
    entity_id: sensor.family_kareen_drive_dest
    state: 'Home'
action:
  - service: script.notify_tts_zone_everywhere
    data_template:
      room: "everywhere"
      value1: !include ../../../../entities/templates/driving_her.yaml
  - service: notify.signal_stuart
    data:
      message: !include ../../../../entities/templates/driving_her.yaml
  - service: script.notify_engine
    data_template:
      channel: "visitorlog"
      value1: !include ../../../../entities/templates/driving_her.yaml
  - service: nest.set_away_mode
    data:
      away_mode: home
  - condition: numeric_state
    entity_id: sensor.family_family_state_raw
    below: '4'
  - service: mqtt.publish
    data:
      topic: iot/scene/house
      payload: 'Coming Home'
      qos: 2
      retain: true

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