Cleaning up scripts
This commit is contained in:
parent
accf895876
commit
0ca48f786c
|
@ -9,10 +9,6 @@
|
||||||
# Weather Based
|
# Weather Based
|
||||||
- !include automations/cloudy_inside_on_home.yaml
|
- !include automations/cloudy_inside_on_home.yaml
|
||||||
# Jeff
|
# 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_enter.yaml
|
||||||
- !include automations/jeff_home_leave.yaml
|
- !include automations/jeff_home_leave.yaml
|
||||||
#- !include automations/jeff_stationary.yaml
|
#- !include automations/jeff_stationary.yaml
|
||||||
|
@ -20,7 +16,5 @@
|
||||||
#- !include automations/jeff_walking.yaml
|
#- !include automations/jeff_walking.yaml
|
||||||
#- !include automations/jeff_driving.yaml
|
#- !include automations/jeff_driving.yaml
|
||||||
# Kat
|
# Kat
|
||||||
- !include automations/kat_work_enter.yaml
|
|
||||||
- !include automations/kat_work_leave.yaml
|
|
||||||
- !include automations/kat_home_enter.yaml
|
- !include automations/kat_home_enter.yaml
|
||||||
- !include automations/kat_home_leave.yaml
|
- !include automations/kat_home_leave.yaml
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
alias: "Jeff Arrives At Manheim"
|
|
||||||
trigger:
|
|
||||||
platform: zone
|
|
||||||
event: enter
|
|
||||||
zone: zone.manheim
|
|
||||||
entity_id: device_tracker.owntracks_jeffreysphone
|
|
||||||
action:
|
|
||||||
- service: notify.notify
|
|
||||||
data:
|
|
||||||
message: "Jeff arrived at Manheim"
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
entity_id: input_select.jeff_status
|
|
||||||
option: stationary
|
|
|
@ -1,14 +0,0 @@
|
||||||
alias: "Jeff Leaves Manheim"
|
|
||||||
trigger:
|
|
||||||
platform: zone
|
|
||||||
event: leave
|
|
||||||
zone: zone.manheim
|
|
||||||
entity_id: device_tracker.owntracks_jeffreysphone
|
|
||||||
action:
|
|
||||||
- service: notify.notify
|
|
||||||
data:
|
|
||||||
message: "Jeff left Manheim"
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
entity_id: input_select.jeff_status
|
|
||||||
option: moving
|
|
|
@ -1,14 +0,0 @@
|
||||||
alias: "Jeff Arrives At CAI"
|
|
||||||
trigger:
|
|
||||||
platform: zone
|
|
||||||
event: enter
|
|
||||||
zone: zone.summit
|
|
||||||
entity_id: device_tracker.owntracks_jeffreysphone
|
|
||||||
action:
|
|
||||||
- service: notify.notify
|
|
||||||
data:
|
|
||||||
message: "Jeff arrived at CAI-Summit"
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
entity_id: input_select.jeff_status
|
|
||||||
option: stationary
|
|
|
@ -1,15 +0,0 @@
|
||||||
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
|
|
|
@ -1,10 +0,0 @@
|
||||||
alias: "Kat Arrives Work"
|
|
||||||
trigger:
|
|
||||||
platform: zone
|
|
||||||
event: enter
|
|
||||||
zone: zone.zoo_atlanta
|
|
||||||
entity_id: device_tracker.katheriesiphone_2
|
|
||||||
action:
|
|
||||||
- service: notify.notify
|
|
||||||
data:
|
|
||||||
message: "Kat arrived at Zoo Atlanta"
|
|
|
@ -1,10 +0,0 @@
|
||||||
alias: "Kat Leaves Work"
|
|
||||||
trigger:
|
|
||||||
platform: zone
|
|
||||||
event: leave
|
|
||||||
zone: zone.home
|
|
||||||
entity_id: device_tracker.katheriesiphone_2
|
|
||||||
action:
|
|
||||||
- service: notify.notify
|
|
||||||
data:
|
|
||||||
message: "Kat left Zoo Atlanta"
|
|
|
@ -28,55 +28,6 @@ zone:
|
||||||
radius: 100
|
radius: 100
|
||||||
icon: mdi:account-multiple
|
icon: mdi:account-multiple
|
||||||
|
|
||||||
zone 2:
|
|
||||||
name: Manheim
|
|
||||||
latitude: !secret WORK_LATITUDE
|
|
||||||
longitude: !secret WORK_LONGITUDE
|
|
||||||
radius: 500
|
|
||||||
icon: mdi:office
|
|
||||||
|
|
||||||
zone 3:
|
|
||||||
name: Zoo Atlanta
|
|
||||||
latitude: 33.7321545
|
|
||||||
longitude: -84.3734925
|
|
||||||
radius: 350
|
|
||||||
icon: mdi:paw
|
|
||||||
|
|
||||||
zone 4:
|
|
||||||
name: Gump
|
|
||||||
latitude: 33.89261183797744
|
|
||||||
longitude: -83.96071630537878
|
|
||||||
radius: 200
|
|
||||||
icon: mdi:school
|
|
||||||
|
|
||||||
zone 5:
|
|
||||||
name: Pottery
|
|
||||||
latitude: 33.987571
|
|
||||||
longitude: -84.0951167
|
|
||||||
radius: 100
|
|
||||||
icon: mdi:palette
|
|
||||||
|
|
||||||
zone 6:
|
|
||||||
name: The Learning Gym
|
|
||||||
latitude: 33.8992118
|
|
||||||
longitude: -84.0054688
|
|
||||||
radius: 100
|
|
||||||
icon: mdi:dumbbell
|
|
||||||
|
|
||||||
zone 7:
|
|
||||||
name: Gwinnett Swim
|
|
||||||
latitude: 34.1414549
|
|
||||||
longitude: -83.9602195
|
|
||||||
radius: 100
|
|
||||||
icon: mdi:swim
|
|
||||||
|
|
||||||
zone 8:
|
|
||||||
name: Summit
|
|
||||||
latitude: !secret SUMMIT_LATITUDE
|
|
||||||
longitude: !secret SUMMIT_LONGITUDE
|
|
||||||
radius: 500
|
|
||||||
icon: mdi:office
|
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
broker: 192.168.1.15
|
broker: 192.168.1.15
|
||||||
port: 8883
|
port: 8883
|
||||||
|
@ -150,8 +101,3 @@ updater:
|
||||||
|
|
||||||
# Track the sun
|
# Track the sun
|
||||||
sun:
|
sun:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ environment:
|
||||||
### Grops ###
|
### Grops ###
|
||||||
Family:
|
Family:
|
||||||
- device_tracker.owntracks_jeffreysphone
|
- device_tracker.owntracks_jeffreysphone
|
||||||
- device_tracker.katherinestonesiphone
|
- device_tracker.katheriesiphone_2
|
||||||
|
|
||||||
Jeffrey:
|
Jeffrey:
|
||||||
- device_tracker.owntracks_jeffreysphone
|
- device_tracker.owntracks_jeffreysphone
|
||||||
|
@ -45,10 +45,6 @@ Jeffrey:
|
||||||
- input_select.jeff_status
|
- input_select.jeff_status
|
||||||
- sensor.jeff_ett_home
|
- sensor.jeff_ett_home
|
||||||
|
|
||||||
Jeff Trackers:
|
|
||||||
- device_tracker.owntracks_jeffreysphone
|
|
||||||
- device_tracker.jeffreysiphone
|
|
||||||
|
|
||||||
Katherine:
|
Katherine:
|
||||||
- device_tracker.katheriesiphone_2
|
- device_tracker.katheriesiphone_2
|
||||||
- sensor.kat_iphone_batt
|
- sensor.kat_iphone_batt
|
||||||
|
|
|
@ -11,4 +11,4 @@ sequence:
|
||||||
entity_id: scene.livingroom_normal
|
entity_id: scene.livingroom_normal
|
||||||
- service: notify.notify
|
- service: notify.notify
|
||||||
data:
|
data:
|
||||||
message: "Inside lights are on"
|
title: "Inside lights are on"
|
||||||
|
|
|
@ -17,4 +17,4 @@ sequence:
|
||||||
entity_id: switch.front_porch_right
|
entity_id: switch.front_porch_right
|
||||||
- service: notify.notify
|
- service: notify.notify
|
||||||
data:
|
data:
|
||||||
message: "Outside lights are on"
|
title: "Outside lights are on"
|
||||||
|
|
Loading…
Reference in New Issue