Motion Sensor alerts

This commit is contained in:
Ben Charlton 2017-08-30 20:52:40 +00:00
parent 87f03c6c72
commit a649398bb8
2 changed files with 35 additions and 2 deletions

View file

@ -28,7 +28,7 @@
message: "Front Door: {{ states.sensor.front_door.state }}"
data:
push:
badge: 5
badge: 1
- alias: Back Door Open
@ -45,6 +45,22 @@
message: "Back Door Sensor: {{ states.sensor.back_door.state }}"
data:
push:
badge: 5
badge: 2
- alias: Hallway Motion
trigger:
platform: state
entity_id: sensor.hall_motion
condition:
- condition: state
entity_id: group.presence
state: 'not home'
action:
service: notify.all_phones
data:
message: "Hallway Movement: {{ states.sensor.hall_motion.state }}"
data:
push:
badge: 3