Added two new automations

This commit is contained in:
Jeffrey Stone 2017-01-20 08:29:47 -05:00
parent 1e63ccbd3f
commit 83047d0fa8
3 changed files with 32 additions and 0 deletions

View File

@ -11,6 +11,8 @@
# Jeff
- !include automations/jeff_manheim_enter.yaml
- !include automations/jeff_manheim_leave.yaml
- !include automations/jeff_summit_enter.yaml
- !include automations/jeff_summit_leave.yaml
- !include automations/jeff_home_enter.yaml
- !include automations/jeff_home_leave.yaml
#- !include automations/jeff_stationary.yaml

View File

@ -0,0 +1,15 @@
alias: "Jeff Arrives At CAI"
trigger:
platform: zone
event: enter
zone: zone.summit
entity_id: device_tracker.owntracks_jeffreysphone
action:
- service: notify.notify
data:
title: 'Jeff is at CAI-Summit'
message: "Jeff arrived at CAI-Summit"
- service: input_select.select_option
data:
entity_id: input_select.jeff_status
option: stationary

View File

@ -0,0 +1,15 @@
alias: "Jeff Leaves Summit"
trigger:
platform: zone
event: leave
zone: zone.summit
entity_id: device_tracker.owntracks_jeffreysphone
action:
- service: notify.notify
data:
title: 'Jeff Left CAI-Summit'
message: "Jeff left CAI-Summit"
- service: input_select.select_option
data:
entity_id: input_select.jeff_status
option: moving