Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (35 sloc) 1.02 KB
---
alias: Her driving input_select - On The Way
trigger:
- platform: state
entity_id: input_select.family_kareen_drive_dest_template
to: 'is on the way %DEST% now'
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: script.notify_join
data_template:
who: "stuart"
title: 'Her Driving Alerts'
notification_id: "driving-alert-her"
value1: !include ../../../../entities/templates/driving_her.yaml
- service: persistent_notification.create
data_template:
title: 'Her Driving Alerts'
message: !include ../../../../entities/templates/driving_her.yaml
notification_id: driving-alert-her
- 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
You can’t perform that action at this time.