From 83047d0fa870a2c272ed094e0f297891c10a53bf Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Fri, 20 Jan 2017 08:29:47 -0500 Subject: [PATCH] Added two new automations --- automation.yaml | 2 ++ automations/jeff_summit_enter.yaml | 15 +++++++++++++++ automations/jeff_summit_leave.yaml | 15 +++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 automations/jeff_summit_enter.yaml create mode 100644 automations/jeff_summit_leave.yaml diff --git a/automation.yaml b/automation.yaml index 9151e87..602ecad 100644 --- a/automation.yaml +++ b/automation.yaml @@ -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 diff --git a/automations/jeff_summit_enter.yaml b/automations/jeff_summit_enter.yaml new file mode 100644 index 0000000..bba99d9 --- /dev/null +++ b/automations/jeff_summit_enter.yaml @@ -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 \ No newline at end of file diff --git a/automations/jeff_summit_leave.yaml b/automations/jeff_summit_leave.yaml new file mode 100644 index 0000000..e6f4ac4 --- /dev/null +++ b/automations/jeff_summit_leave.yaml @@ -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 \ No newline at end of file