Removing uneeded automations

This commit is contained in:
Jeffrey Stone 2017-04-19 09:25:20 -04:00
parent fa69e3f3fc
commit a998ab9035
14 changed files with 32 additions and 71 deletions

View File

@ -1,16 +1,11 @@
alias: "Jeff Arrives Home" alias: "Jeff Arrives Home"
trigger: trigger:
# platform: zone platform: zone
# event: enter event: enter
# zone: zone.home zone: zone.home
# entity_id: device_tracker.jeffreystonesiphone entity_id: device_tracker.jeffreystonesiphone
platform: mqtt
topic: anchoragehouse/jeffrey/status
# Optional
payload: 'stationary'
action: action:
- service: notify.notify - service: notify.notify
data: data:
title: "Jarvis" title: "Jarvis"
message: "Jeff has arrived home" message: "Jeff is arriving home"
- service: script.jeff_is_stationary

View File

@ -9,4 +9,3 @@ action:
data: data:
title: "Jarvis" title: "Jarvis"
message: "Jeff has left home" message: "Jeff has left home"
- service: script.jeff_is_moving

View File

@ -0,0 +1,7 @@
alias: "Jeff Status Lost"
trigger:
platform: mqtt
topic: anchoragehouse/jeffrey/status
payload: 'unknown'
action:
service: script.jeff_unknown

View File

@ -0,0 +1,7 @@
alias: "Jeff Status Moving"
trigger:
platform: mqtt
topic: anchoragehouse/jeffrey/status
payload: 'moving'
action:
service: script.jeff_is_moving

View File

@ -0,0 +1,7 @@
alias: "Jeff Status Stationary"
trigger:
platform: mqtt
topic: anchoragehouse/jeffrey/status
payload: 'stationary'
action:
service: script.jeff_is_stationary

View File

@ -1,16 +0,0 @@
alias: "Jeff Arrives Home"
trigger:
# platform: zone
# event: enter
# zone: zone.home
# entity_id: device_tracker.jeffreystonesiphone
platform: mqtt
topic: anchoragehouse/jeffrey/status
# Optional
payload: 'unknown'
action:
- service: notify.notify
data:
title: "Jarvis"
message: "Jeff has arrived home"
- service: script.jeff_unknown

View File

@ -8,5 +8,4 @@ action:
- service: notify.notify - service: notify.notify
data: data:
title: "Jarvis" title: "Jarvis"
message: "Jeff has arrived at Summit" message: "Jeff is arriving at Summit"
- service: script.jeff_is_stationary

View File

@ -1,16 +1,11 @@
alias: "Jeff Leaves Summit" alias: "Jeff Leaves Summit"
trigger: trigger:
# platform: zone platform: zone
# event: leave event: leave
# zone: zone.summit zone: zone.summit
# entity_id: device_tracker.jeffreystonesiphone entity_id: device_tracker.jeffreystonesiphone
platform: mqtt
topic: anchoragehouse/jeffrey/status
# Optional
payload: 'moving'
action: action:
- service: notify.notify - service: notify.notify
data: data:
title: "Jarvis" title: "Jarvis"
message: "Jeff has left summit" message: "Jeff has left summit"
- service: script.jeff_is_moving

View File

@ -8,5 +8,4 @@ action:
- service: notify.notify - service: notify.notify
data: data:
title: "Jarvis" title: "Jarvis"
message: "Kat has arrived home" message: "Kat is arriving home"
- service: script.kat_is_stationary

View File

@ -9,4 +9,3 @@ action:
data: data:
title: "Jarvis" title: "Jarvis"
message: "Kat has left home" message: "Kat has left home"
- service: script.kat_unknown

View File

@ -6,6 +6,3 @@ outside_all_off: !include scripts/outside_all_off.yaml
jeff_is_moving: !include scripts/jeff_is_moving.yaml jeff_is_moving: !include scripts/jeff_is_moving.yaml
jeff_is_stationary: !include scripts/jeff_is_stationary.yaml jeff_is_stationary: !include scripts/jeff_is_stationary.yaml
jeff_unknown: !include scripts/jeff_unknown.yaml jeff_unknown: !include scripts/jeff_unknown.yaml
kat_is_moving: !include scripts/kat_is_moving.yaml
kat_is_stationary: !include scripts/kat_is_stationary.yaml
kat_unknown: !include scripts/kat_unknown.yaml

View File

@ -1,9 +0,0 @@
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Kat is Moving"
- service: input_select.select_option
data:
entity_id: input_select.kat_status
option: moving

View File

@ -1,9 +0,0 @@
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Kat is Stationary"
- service: input_select.select_option
data:
entity_id: input_select.kat_status
option: stationary

View File

@ -1,9 +0,0 @@
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Kat Status Unknown"
- service: input_select.select_option
data:
entity_id: input_select.kat_status
option: unknown