Big Update

Added new scripts for status
Added new automations for pressance and status
Removed problematic value template from cover
Added moon status
Added customizations for travel times
Rearranged groups
Lots of other small changes
This commit is contained in:
Jeffrey Stone
2017-04-09 11:22:38 -04:00
parent ddde1654a0
commit 412893f966
26 changed files with 108 additions and 79 deletions

View File

@@ -3,16 +3,10 @@ trigger:
- platform: state
entity_id: group.family
state: "not home"
- platform: state
entity_id: cover.garage_door
state: "open"
condition:
- condition: state
entity_id: cover.garage_door
state: "open"
- condition: state
entity_id: group.family
state: "not home"
action:
- service: notify.notify
data:

View File

@@ -1,14 +0,0 @@
alias: 'Jeff Is Driving'
trigger:
platform: numeric_state
entity_id: sensor.jeff_velocity
above: 8
condition:
condition: state
entity_id: device_tracker.owntracks_jeffreysphone
state: "not_home"
action:
- service: input_select.select_option
data:
entity_id: input_select.jeff_status
option: driving

View File

@@ -3,12 +3,9 @@ trigger:
platform: zone
event: enter
zone: zone.home
entity_id: device_tracker.jeffreysiphone
entity_id: device_tracker.jeffreystonesiphone
action:
- service: notify.notify
data:
message: "Jeff arrived home"
- service: input_select.select_option
data:
entity_id: input_select.jeff_status
option: stationary
- service: script.jeff_is_stationary

View File

@@ -3,12 +3,9 @@ trigger:
platform: zone
event: leave
zone: zone.home
entity_id: device_tracker.jeffreysiphone
entity_id: device_tracker.jeffreystonesiphone
action:
- service: notify.notify
data:
message: "Jeff left home"
- service: input_select.select_option
data:
entity_id: input_select.jeff_status
option: moving
- service: script.jeff_is_moving

View File

@@ -1,10 +0,0 @@
alias: 'Jeff Is Stationary'
trigger:
platform: numeric_state
entity_id: sensor.jeff_velocity
below: 2
action:
- service: input_select.select_option
data:
entity_id: input_select.jeff_status
option: stationary

View File

@@ -0,0 +1,11 @@
alias: "Jeff Arrives At Summit"
trigger:
platform: zone
event: enter
zone: zone.summit
entity_id: device_tracker.jeffreystonesiphone
action:
- service: notify.notify
data:
message: "Jeff arrived at Summit"
- service: script.jeff_is_stationary

View File

@@ -0,0 +1,11 @@
alias: "Jeff Leaves Summit"
trigger:
platform: zone
event: leave
zone: zone.summit
entity_id: device_tracker.jeffreystonesiphone
action:
- service: notify.notify
data:
message: "Jeff left summit"
- service: script.jeff_is_moving

View File

@@ -1,15 +0,0 @@
alias: 'Jeff Is Walking'
trigger:
platform: numeric_state
entity_id: sensor.jeff_velocity
above: 2
below: 8
condition:
condition: state
entity_id: device_tracker.owntracks_jeffreysphone
state: "not_home"
action:
- service: input_select.select_option
data:
entity_id: input_select.jeff_status
option: walking

View File

@@ -8,3 +8,4 @@ action:
- service: notify.notify
data:
message: "Kat arrived home"
- service: script.kat_is_stationary

View File

@@ -8,3 +8,4 @@ action:
- service: notify.notify
data:
message: "Kat left home"
- service: script.kat_unknown

View File

@@ -3,8 +3,4 @@ trigger:
platform: sun
event: sunrise
action:
- service: notify.notify
data:
title: 'HA: Turning Off Outside Ligts'
message: "Sun is up."
- service: script.outside_all_off