Cleaning up automations

This commit is contained in:
Jeffrey Stone 2017-01-09 14:48:07 -05:00
parent bc501622e9
commit 1e63ccbd3f
14 changed files with 25 additions and 21 deletions

View File

@ -4,8 +4,8 @@
# Sun Based
- !include automations/sunset_outside_on.yaml
- !include automations/sunset_inside_on.yaml
- !include automations/sunset_outside_off.yaml
- !include automations/sunset_inside_off.yaml
- !include automations/sunrise_outside_off.yaml
- !include automations/sunrise_inside_off.yaml
# Weather Based
- !include automations/cloudy_inside_on_home.yaml
# Jeff

View File

@ -8,5 +8,5 @@ action:
entity_id: scene.livingroom_normal
- service: notify.notify
data:
title: 'Anchorage House'
title: 'Good Morning'
message: "Good Morning, Anchorage House is up and online."

View File

@ -9,5 +9,5 @@ action:
entity_id: scene.livingroom_night
- service: notify.notify
data:
title: 'Anchorage House'
title: 'Good Night'
message: "Shutting down for the night, Good Night"

View File

@ -7,7 +7,7 @@ trigger:
action:
- service: notify.notify
data:
title: 'Anchorage House'
title: 'Jeff is Home'
message: "Jeff is home!"
- service: input_select.select_option
data:

View File

@ -7,7 +7,7 @@ trigger:
action:
- service: notify.notify
data:
title: 'Anchorage House'
title: 'Jeff Left Home'
message: "Jeff left home"
- service: input_select.select_option
data:

View File

@ -7,7 +7,7 @@ trigger:
action:
- service: notify.notify
data:
title: 'Anchorage House'
title: 'Jeff is at Manheim'
message: "Jeff arrived at Manheim"
- service: input_select.select_option
data:

View File

@ -7,7 +7,7 @@ trigger:
action:
- service: notify.notify
data:
title: 'Anchorage House'
title: 'Jeff Left Manheim'
message: "Jeff left Manheim"
- service: input_select.select_option
data:

View File

@ -1,7 +1,7 @@
alias: "Sunset Inside on"
alias: "Sunrise Inside off"
trigger:
platform: sun
event: sunset
event: sunrise
offset: "+01:00:00"
action:
service: script.inside_all_off

View File

@ -1,6 +1,10 @@
alias: "Sunset Outside off"
alias: "Sunrise Outside off"
trigger:
platform: sun
event: sunrise
action:
service: script.outside_all_off
- service: notify.notify
data:
title: 'Sun is Up!'
message: "Turning off Outside Lights."
- service: script.outside_all_off

View File

@ -117,9 +117,9 @@ device_tracker:
track_new_devices: yes
interval_seconds: 60
consider_home: 180
#- platform: owntracks
# max_gps_accuracy: 200
# consider_home: 180
- platform: owntracks
max_gps_accuracy: 200
consider_home: 180
- platform: icloud
username: !secret ICLOUD_USER
password: !secret ICLOUD_PASS

View File

@ -8,5 +8,5 @@ sequence:
entity_id: switch.tower_lamp
- service: notify.notify
data:
title: 'Anchorage House'
message: "Inside lights are on!"
title: 'Turning inside lights off'
message: "Inside lights are off!"

View File

@ -11,5 +11,5 @@ sequence:
entity_id: scene.livingroom_normal
- service: notify.notify
data:
title: 'Anchorage House'
title: 'Inside lights are on'
message: "Inside lights are on!"

View File

@ -14,8 +14,8 @@ sequence:
entity_id: switch.front_porch_left
- service: switch.turn_off
data:
entity_id: switch.front_porch_right
entity_id: switch.front_porch_right
- service: notify.notify
data:
title: 'Anchorage House'
title: 'Outside lights are off'
message: "Outside lights are off!"

View File

@ -17,5 +17,5 @@ sequence:
entity_id: switch.front_porch_right
- service: notify.notify
data:
title: 'Anchorage House'
title: 'Outside lights are on'
message: "Outside lights are on!"