2019-03-09 02:52:37 +00:00
|
|
|
- id: washer_running
|
2019-07-11 11:31:10 +00:00
|
|
|
alias: Washer Running
|
2019-03-09 02:52:37 +00:00
|
|
|
trigger:
|
2019-07-11 11:31:10 +00:00
|
|
|
- above: 10
|
|
|
|
entity_id: sensor.washer
|
|
|
|
platform: numeric_state
|
2019-03-09 02:52:37 +00:00
|
|
|
action:
|
|
|
|
- service: script.washer_running
|
2019-07-11 11:31:10 +00:00
|
|
|
initial_state: true
|
2019-03-09 02:52:37 +00:00
|
|
|
- id: washer_complete
|
2019-07-11 11:31:10 +00:00
|
|
|
alias: Washer Complete
|
2019-03-09 02:52:37 +00:00
|
|
|
trigger:
|
2019-07-11 11:31:10 +00:00
|
|
|
- below: '1'
|
|
|
|
entity_id: sensor.washer
|
|
|
|
platform: numeric_state
|
2019-03-09 02:52:37 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: sensor.washer_status
|
2019-07-11 11:31:10 +00:00
|
|
|
state: running
|
2019-03-09 02:52:37 +00:00
|
|
|
action:
|
|
|
|
- service: script.washer_complete
|
2019-07-11 11:31:10 +00:00
|
|
|
initial_state: true
|
2019-03-09 02:52:37 +00:00
|
|
|
- id: washer_emptied
|
2019-07-11 11:31:10 +00:00
|
|
|
initial_state: true
|
|
|
|
alias: Washer Emptied
|
2019-03-09 02:52:37 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
2019-07-11 11:31:10 +00:00
|
|
|
entity_id: binary_sensor.washer_door
|
2019-03-09 02:52:37 +00:00
|
|
|
from: 'off'
|
|
|
|
to: 'on'
|
|
|
|
action:
|
|
|
|
- service: script.washer_idle
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: script.turn_off
|
|
|
|
entity_id: script.washer_finished_notification_audible
|
|
|
|
- id: washer_notification
|
|
|
|
initial_state: true
|
|
|
|
alias: Washer Notification
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.washer_status
|
|
|
|
from: running
|
|
|
|
to: complete
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.washer_notification
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: script.washer_finished_notification_audible
|
|
|
|
- id: turn_off_disney
|
|
|
|
initial_state: true
|
|
|
|
alias: Turn Off Disney
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: media_player.hass_speaker
|
|
|
|
from: playing
|
|
|
|
to: idle
|
2019-03-09 02:52:37 +00:00
|
|
|
action:
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.tiki_room_audio
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.happy_ever_after_show
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.haunted_mansion
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.boo_to_you_show
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.spaceship_earth_ride
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.mk_loop
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.illuminations
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.boo_to_you
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.happy_ever_after
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: backup_hass
|
2019-07-11 11:31:10 +00:00
|
|
|
initial_state: true
|
2019-02-21 17:49:55 +00:00
|
|
|
alias: Backup Hass
|
|
|
|
trigger:
|
2019-07-11 11:31:10 +00:00
|
|
|
- platform: time
|
|
|
|
at: 05:00:00
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: script.add_logbook_entry
|
|
|
|
data_template:
|
|
|
|
name: Backup
|
2019-07-11 11:31:10 +00:00
|
|
|
message: is running
|
2019-02-21 17:49:55 +00:00
|
|
|
- service: shell_command.backup
|
|
|
|
- service: script.twitter_notify
|
2019-07-11 11:31:10 +00:00
|
|
|
data_template:
|
|
|
|
message: '{{ [ "I just kicked off a backup of #homeassistant to ensure I live
|
|
|
|
on. Do you backup? ", "Its important to backup your data. Thats why I just
|
|
|
|
intitiated a backup of my critical data. ", "With @home_assistant and the
|
|
|
|
#dropbox component it is easy to backup your important config files. Lets
|
|
|
|
do this thing! " ] | random }}'
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: net_speed_report
|
2019-07-11 11:31:10 +00:00
|
|
|
initial_state: true
|
2019-02-21 17:49:55 +00:00
|
|
|
alias: Network Speed Report
|
|
|
|
trigger:
|
2019-07-11 11:31:10 +00:00
|
|
|
- platform: time
|
2019-02-21 17:49:55 +00:00
|
|
|
at: '11:15:00'
|
|
|
|
action:
|
|
|
|
- service: script.twitter_notify
|
2019-07-11 11:31:10 +00:00
|
|
|
data_template:
|
|
|
|
message: '{{ [ "According to my latest speed tests Anchorage House is getting
|
|
|
|
{{ states.sensor.network_down.state}} Mbps down and {{ states.sensor.network_up.state}}
|
|
|
|
Mbps up thanks to #ATTFiber. ", "How fast is your internet? I just checked
|
|
|
|
am Im seeing {{ states.sensor.network_down.state}} Mbps down and {{ states.sensor.network_up.state}}
|
|
|
|
Mbps up. Beat that. ", "My speed is monitored using @home_assistant and https://github.com/thejeffreystone/speedtest_to_mqtt
|
|
|
|
and is {{ states.sensor.network_down.state}} Mbps down and {{ states.sensor.network_up.state}}
|
|
|
|
Mbps up." ] | random }}'
|
|
|
|
- id: coffee_time_workday
|
|
|
|
alias: Coffee Time Workday
|
2019-02-21 17:49:55 +00:00
|
|
|
initial_state: true
|
|
|
|
trigger:
|
2019-07-11 11:31:10 +00:00
|
|
|
- platform: time
|
|
|
|
at: 05:15:00
|
2019-02-21 17:49:55 +00:00
|
|
|
condition:
|
2019-07-11 11:31:10 +00:00
|
|
|
condition: state
|
|
|
|
entity_id: binary_sensor.workday_sensor
|
2019-02-21 17:49:55 +00:00
|
|
|
state: 'on'
|
|
|
|
action:
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.diminshed_livingroom_lighting
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.diminished_kitchen_lighting
|
|
|
|
- id: coffee_time_holiday
|
|
|
|
alias: Coffee Time Holiday
|
2019-02-21 17:49:55 +00:00
|
|
|
initial_state: true
|
|
|
|
trigger:
|
2019-07-11 11:31:10 +00:00
|
|
|
- platform: time
|
|
|
|
at: 07:30:00
|
2019-02-21 17:49:55 +00:00
|
|
|
condition:
|
2019-03-09 02:52:37 +00:00
|
|
|
condition: state
|
2019-07-11 11:31:10 +00:00
|
|
|
entity_id: binary_sensor.workday_sensor
|
|
|
|
state: 'off'
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.diminshed_livingroom_lighting
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.diminished_kitchen_lighting
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: switch.turn_off
|
|
|
|
entity_id: switch.rainbow_light_4
|
|
|
|
- id: good_morning_workday
|
|
|
|
alias: Good Morning Workday
|
2019-02-21 17:49:55 +00:00
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
2019-07-11 11:31:10 +00:00
|
|
|
at: 06:30:00
|
|
|
|
condition:
|
|
|
|
condition: state
|
|
|
|
entity_id: binary_sensor.workday_sensor
|
|
|
|
state: 'on'
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.normal_livingroom_lighting
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.normal_kitchen_lighting
|
|
|
|
- service: switch.turn_off
|
2019-07-11 11:31:10 +00:00
|
|
|
entity_id: switch.rainbow_light_4
|
2019-02-21 17:49:55 +00:00
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.jeff_light_on
|
|
|
|
- service: script.twitter_notify
|
2019-07-11 11:31:10 +00:00
|
|
|
data_template:
|
|
|
|
message: '{{ [ "Good Morning! Time to rise and shine at Anchorage House. ",
|
|
|
|
"Good Morning from Anchorage House. Glad to see everyone made it. ", "Birds
|
|
|
|
are awake, and so is Anchorage House. Good morning everyone! " ] | random
|
|
|
|
}}'
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: skylar_bedtime
|
|
|
|
alias: Skylar Bedtime
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '19:15:00'
|
2019-07-11 11:31:10 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.vacation_mode
|
|
|
|
state: 'off'
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: switch.turn_on
|
2019-07-11 11:31:10 +00:00
|
|
|
entity_id: switch.rainbow_light_4
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: jeff_lights_out
|
|
|
|
alias: Jeff lights out
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '23:00:00'
|
2019-07-11 11:31:10 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.vacation_mode
|
|
|
|
state: 'off'
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.jeff_light_off
|
|
|
|
- id: jeff_bedtime
|
|
|
|
alias: Jeff bedtime
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '22:00:00'
|
2019-03-09 02:52:37 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: light.jeff_light
|
|
|
|
state: 'on'
|
2019-07-11 11:31:10 +00:00
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.vacation_mode
|
|
|
|
state: 'off'
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.jeff_bedtime
|
|
|
|
- id: jeff_night_light
|
|
|
|
alias: Jeff night light
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '22:30:00'
|
2019-03-09 02:52:37 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: light.jeff_light
|
|
|
|
state: 'on'
|
2019-07-11 11:31:10 +00:00
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.vacation_mode
|
|
|
|
state: 'off'
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.jeff_night_light
|
|
|
|
- id: jeff_light_on
|
|
|
|
alias: Jeff Light On
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '20:00:00'
|
2019-07-11 11:31:10 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.vacation_mode
|
|
|
|
state: 'off'
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.jeff_light_on
|
|
|
|
- id: jeff_alarm
|
|
|
|
alias: Jeff alarm
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: 05:15:00
|
2019-07-11 11:31:10 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.vacation_mode
|
|
|
|
state: 'off'
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.jeff_night_light
|
|
|
|
- id: jeff_wake_up
|
|
|
|
alias: Jeff wake up
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: 05:30:00
|
2019-07-11 11:31:10 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.vacation_mode
|
|
|
|
state: 'off'
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.jeff_wake_up
|
|
|
|
- id: good_night
|
|
|
|
alias: Good Night
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '22:30:00'
|
|
|
|
action:
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.night_time_livingroom_lighting
|
|
|
|
- service: light.turn_off
|
|
|
|
data:
|
|
|
|
entity_id: light.loft_lamp
|
|
|
|
- service: switch.turn_off
|
|
|
|
entity_id: switch.incense
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: switch.turn_off
|
|
|
|
entity_id: switch.artemis
|
2019-02-21 17:49:55 +00:00
|
|
|
- service: light.turn_off
|
|
|
|
data:
|
2019-07-11 11:31:10 +00:00
|
|
|
entity_id: light.kitchen_cabinet_lights
|
2019-02-21 17:49:55 +00:00
|
|
|
- service: light.turn_off
|
|
|
|
data:
|
|
|
|
entity_id: light.kitchen_cabinets
|
|
|
|
- service: script.twitter_notify
|
2019-07-11 11:31:10 +00:00
|
|
|
data_template:
|
|
|
|
message: '{{ [ "Good Night from Anchorage House. ", "Time to shut down this
|
|
|
|
party. Good Night from Anchorage House. ", "We have come to the end of our
|
|
|
|
broadcast day. Oh, who am I kidding. I''ll be up all night watching over Anchorage
|
|
|
|
House. " ] | random }}'
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: outside_lights_on_sunset
|
|
|
|
alias: Outside Lights on at Sunset
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunset
|
|
|
|
offset: -00:30:00
|
|
|
|
action:
|
|
|
|
- service: switch.turn_on
|
|
|
|
data:
|
2019-07-11 11:31:10 +00:00
|
|
|
entity_id: switch.front_porch
|
2019-02-21 17:49:55 +00:00
|
|
|
- service: script.sunset_garage_open
|
|
|
|
- service: script.twitter_notify
|
2019-07-11 11:31:10 +00:00
|
|
|
data_template:
|
|
|
|
message: '{{ [ "Its getting dark at Anchorage House, so Im turning on the outside
|
|
|
|
lights. ", "When the Sun goes down, I help out by turning on the outside lights.
|
|
|
|
Its the little things. ", "Its getting dark so let me spell out my name...
|
|
|
|
Wait. Did I break into a random #Hamilton song? Pardon me. umm. I just turned
|
|
|
|
on the outside lights at Anchorage House. " ] | random }}'
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: outside_lights_off_sunrise
|
|
|
|
alias: Outside Lights off at Sunrise
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunrise
|
|
|
|
action:
|
|
|
|
- service: switch.turn_off
|
|
|
|
data:
|
2019-07-11 11:31:10 +00:00
|
|
|
entity_id: switch.front_porch
|
2019-02-21 17:49:55 +00:00
|
|
|
- service: script.twitter_notify
|
2019-07-11 11:31:10 +00:00
|
|
|
data_template:
|
|
|
|
message: '{{ [ "The sun is up at Anchorage House, so Im turning off the outside
|
|
|
|
lights. ", "I see the sun! Time to turn off the outside lights at Anchorage
|
|
|
|
House. ", "Dawn has broken at Anchorage House. Turning off the outside lights.
|
|
|
|
" ] | random }}'
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: inside_on_sunset
|
|
|
|
alias: Inside on at Sunset
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunset
|
|
|
|
offset: -01:00:00
|
|
|
|
action:
|
2019-07-11 11:31:10 +00:00
|
|
|
service: scene.turn_on
|
|
|
|
entity_id: scene.normal_livingroom_lighting
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: inside_off_sunrise
|
|
|
|
alias: Inside off at Sunrise
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunrise
|
|
|
|
offset: 00:30:00
|
|
|
|
condition:
|
|
|
|
- condition: numeric_state
|
|
|
|
entity_id: sensor.dark_sky_cloud_coverage
|
|
|
|
below: 50
|
|
|
|
action:
|
|
|
|
- service: script.inside_all_off
|
|
|
|
- service: scene.turn_on
|
|
|
|
entity_id: scene.jeff_light_off
|
|
|
|
- id: ha_start
|
|
|
|
alias: HA Startup
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: homeassistant
|
|
|
|
event: start
|
|
|
|
action:
|
|
|
|
service: frontend.set_theme
|
|
|
|
data:
|
|
|
|
name: midnight-AH
|
|
|
|
- id: turn_off_audible_notifications
|
|
|
|
alias: Turn Off Audible Notifications at 730pm
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '19:30:00'
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.audible_notifications
|
|
|
|
- id: turn_off_audible_notifications_guests
|
|
|
|
alias: Turn Off Audible Notifications at 7pm
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '19:00:00'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.guest_mode
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.audible_notifications
|
|
|
|
- id: turn_on_audible_notifications
|
|
|
|
alias: Turn On Audible Notifications at 7am
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: 07:00:00
|
|
|
|
action:
|
|
|
|
- entity_id: input_boolean.audible_notifications
|
|
|
|
service: input_boolean.turn_on
|
|
|
|
- id: jeff_eta_home
|
|
|
|
alias: Jeff eta home
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.jeff_destination
|
|
|
|
to: Home
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: sensor.notification_mode
|
|
|
|
state: Normal
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
entity_id: input_boolean.jeff_travel_monitor
|
|
|
|
- id: enable_bad_traffic_home_jeff
|
|
|
|
alias: Enable Jeff Bad Traffic Home
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: numeric_state
|
|
|
|
entity_id: sensor.jeff_ett_home
|
|
|
|
above: 59
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: sensor.jeff_location
|
|
|
|
state: Summit
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.jeff_traffic_alerts
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
entity_id: input_boolean.jeff_traffic_alert_home
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: script.twitter_notify
|
|
|
|
data_template:
|
|
|
|
message: '{{ [ "Looks like traffic is bad out there so I let @thejeffreystone
|
|
|
|
know. ", "I dont think todays traffic is the worst I''ve seen, but its bad.
|
|
|
|
Letting my residents know they need to plan their trips. ", "Oh great...traffic
|
|
|
|
can''t get any worse. Maybe everyone should stay where they are. " ] | random
|
|
|
|
}}'
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: disable_bad_traffic_home_jeff
|
|
|
|
alias: Disabling Jeff Bad Traffic Home
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: numeric_state
|
|
|
|
entity_id: sensor.jeff_ett_home
|
|
|
|
below: 40
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.jeff_destination
|
|
|
|
to: Home
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.jeff_traffic_alert_home
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.jeff_traffic_alert_home
|
|
|
|
- id: '1550107919204'
|
2019-07-11 11:31:10 +00:00
|
|
|
alias: Family Is Home Webhook
|
2019-02-21 17:49:55 +00:00
|
|
|
trigger:
|
|
|
|
- platform: webhook
|
2019-07-11 11:31:10 +00:00
|
|
|
webhook_id: home_webhook
|
2019-02-21 17:49:55 +00:00
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- service: script.family_is_home
|
|
|
|
- id: '1550108034209'
|
2019-07-11 11:31:10 +00:00
|
|
|
alias: Family Is Away Webhook
|
2019-02-21 17:49:55 +00:00
|
|
|
trigger:
|
|
|
|
- platform: webhook
|
2019-07-11 11:31:10 +00:00
|
|
|
webhook_id: away_webhook
|
2019-02-21 17:49:55 +00:00
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- service: script.family_is_away
|
|
|
|
- id: family_has_arrived
|
|
|
|
alias: Family Has arrived
|
|
|
|
trigger:
|
|
|
|
- entity_id: sensor.family_status
|
|
|
|
from: Away
|
|
|
|
platform: state
|
|
|
|
to: Home
|
|
|
|
- entity_id: device_tracker.jeffreystonesiphone
|
|
|
|
event: enter
|
|
|
|
platform: zone
|
|
|
|
zone: zone.home
|
|
|
|
- entity_id: device_tracker.katherinestonesiphone
|
|
|
|
event: enter
|
|
|
|
platform: zone
|
|
|
|
zone: zone.home
|
|
|
|
- entity_id: binary_sensor.jeffrey_presence
|
|
|
|
from: 'Off'
|
|
|
|
platform: state
|
|
|
|
to: 'On'
|
|
|
|
- entity_id: binary_sensor.kat_presence
|
|
|
|
from: 'Off'
|
|
|
|
platform: state
|
|
|
|
to: 'On'
|
|
|
|
- entity_id: device_tracker.hass_jeffsiphone
|
|
|
|
event: enter
|
|
|
|
platform: zone
|
|
|
|
zone: zone.home
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: sensor.family_status
|
|
|
|
state: Away
|
|
|
|
action:
|
|
|
|
- service: script.vacation_canceled
|
|
|
|
- service: script.appliances_on
|
|
|
|
- service: script.standby
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: script.washer_finished_notification_audible
|
2019-02-21 17:49:55 +00:00
|
|
|
initial_state: true
|
|
|
|
- id: family_has_left
|
|
|
|
alias: Family Has Left
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- entity_id: sensor.family_status
|
|
|
|
from: Home
|
|
|
|
platform: state
|
|
|
|
to: Away
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.guest_mode
|
|
|
|
state: 'off'
|
|
|
|
action:
|
|
|
|
- service: script.appliances_off
|
2019-03-09 02:52:37 +00:00
|
|
|
- service: script.inside_all_off
|
2019-02-21 17:49:55 +00:00
|
|
|
- service: script.security_check_garage
|
|
|
|
- service: script.security_check_zones
|
|
|
|
- service: script.lockdown
|
2019-03-09 02:52:37 +00:00
|
|
|
- service: script.lockdown_issue
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: script.all_fans_off
|
2019-02-21 17:49:55 +00:00
|
|
|
- id: jeff_is_home
|
|
|
|
alias: Jeff is Home
|
2019-07-11 11:31:10 +00:00
|
|
|
initial_state: true
|
2019-02-21 17:49:55 +00:00
|
|
|
trigger:
|
|
|
|
- entity_id: device_tracker.jeffreystonesiphone
|
|
|
|
event: enter
|
|
|
|
platform: zone
|
|
|
|
zone: zone.home
|
2019-07-11 11:31:10 +00:00
|
|
|
- entity_id: person.jeffrey
|
2019-02-21 17:49:55 +00:00
|
|
|
event: enter
|
|
|
|
platform: zone
|
|
|
|
zone: zone.home
|
|
|
|
action:
|
|
|
|
- service: script.family_is_home
|
|
|
|
- service: script.jeff_is_home
|
|
|
|
- service: script.jeff_destination_na
|
|
|
|
- service: script.driveway_on
|
|
|
|
- entity_id: input_boolean.jeff_travel_monitor
|
|
|
|
service: input_boolean.turn_off
|
|
|
|
- id: jeff_arrives_summit
|
|
|
|
alias: Jeff Arrives At Summit
|
|
|
|
trigger:
|
|
|
|
- entity_id: device_tracker.jeffreystonesiphone
|
|
|
|
event: enter
|
|
|
|
platform: zone
|
|
|
|
zone: zone.summit
|
|
|
|
- entity_id: device_tracker.hass_jeffsiphone
|
|
|
|
event: enter
|
|
|
|
platform: zone
|
|
|
|
zone: zone.summit
|
|
|
|
action:
|
|
|
|
- service: script.jeff_destination_na
|
|
|
|
initial_state: true
|
|
|
|
- id: jeff_leaves_summit
|
|
|
|
alias: Jeff Leaves Summit
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- entity_id: device_tracker.jeffreystonesiphone
|
|
|
|
event: leave
|
|
|
|
platform: zone
|
|
|
|
zone: zone.summit
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.jeff_traffic_alert_home
|
|
|
|
- id: kat_is_home
|
|
|
|
alias: Kat is Home
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- entity_id: device_tracker.katherinestonesiphone
|
|
|
|
event: enter
|
|
|
|
platform: zone
|
|
|
|
zone: zone.home
|
2019-07-11 11:31:10 +00:00
|
|
|
- entity_id: person.katherine
|
|
|
|
event: enter
|
|
|
|
platform: zone
|
|
|
|
zone: zone.home
|
2019-02-21 17:49:55 +00:00
|
|
|
action:
|
|
|
|
- service: script.family_is_home
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: script.driveway_on
|
2019-02-21 17:49:55 +00:00
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.kat_travel_monitor
|
|
|
|
- id: kat_arrives_zoo
|
|
|
|
alias: Kat Arrives at Zoo
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: zone
|
|
|
|
event: enter
|
|
|
|
zone: zone.zoo_atlanta
|
|
|
|
entity_id: device_tracker.katherinestonesiphone
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.text_notify_jeff
|
|
|
|
state: 'on'
|
|
|
|
action:
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.kat_travel_monitor
|
2019-02-21 17:49:55 +00:00
|
|
|
- service: notify.jeff_ios
|
|
|
|
data:
|
|
|
|
message: Kat arrived at Zoo Atlanta
|
2019-07-11 11:31:10 +00:00
|
|
|
- service: tts.google_translate_say
|
2019-02-21 17:49:55 +00:00
|
|
|
data:
|
|
|
|
entity_id: media_player.hass_speaker
|
|
|
|
message: Kat has arrived at the Zoo
|
|
|
|
- id: kat_leaves_zoo
|
|
|
|
alias: Kat Leaves Zoo Notification
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: zone
|
|
|
|
event: leave
|
|
|
|
zone: zone.zoo_atlanta
|
|
|
|
entity_id: device_tracker.katherinestonesiphone
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.text_notify_jeff
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
entity_id: input_boolean.kat_travel_monitor
|
|
|
|
- id: '1550109528753'
|
|
|
|
alias: Jeff Is Heading Home
|
2019-07-11 11:31:10 +00:00
|
|
|
initial_state: true
|
2019-02-21 17:49:55 +00:00
|
|
|
trigger:
|
|
|
|
- platform: webhook
|
|
|
|
webhook_id: jeff_heading_home
|
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- service: script.jeff_destination_home
|
2019-07-11 11:31:10 +00:00
|
|
|
- id: '1558620708807'
|
|
|
|
alias: Upstairs Cooling On
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- entity_id: binary_sensor.upstairs_occupancy
|
|
|
|
from: 'Off'
|
|
|
|
platform: state
|
|
|
|
to: 'On'
|
|
|
|
condition:
|
|
|
|
- above: '73'
|
|
|
|
condition: numeric_state
|
|
|
|
entity_id: sensor.upstairs_temperature
|
|
|
|
action:
|
|
|
|
- data:
|
|
|
|
entity_id: switch.box_fans
|
|
|
|
service: switch.turn_on
|
|
|
|
- id: '1558630577206'
|
|
|
|
alias: Garage Is Open at 9pm
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- at: '21:00:00'
|
|
|
|
platform: time
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: binary_sensor.garage_door
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- data:
|
|
|
|
entity_id: input_boolean.garage_after_dark
|
|
|
|
service: input_boolean.turn_on
|
|
|
|
- id: '1559612300685'
|
|
|
|
alias: Garage Closed
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- entity_id: binary_sensor.garage_door
|
|
|
|
from: 'on'
|
|
|
|
platform: state
|
|
|
|
to: 'off'
|
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- data:
|
|
|
|
entity_id: input_boolean.garage_after_dark
|
|
|
|
service: input_boolean.turn_off
|
|
|
|
- id: '1562066108032'
|
|
|
|
alias: Living Room Fan On
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- entity_id: binary_sensor.living_room_occupancy
|
|
|
|
from: 'off'
|
|
|
|
platform: state
|
|
|
|
to: 'on'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: switch.living_room_fan
|
|
|
|
state: 'off'
|
|
|
|
action:
|
|
|
|
- data:
|
|
|
|
entity_id: switch.living_room_fan
|
|
|
|
service: switch.turn_on
|
|
|
|
- id: '1562067557778'
|
|
|
|
alias: Upstairs Fan On
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- entity_id: binary_sensor.upstairs_occupancy
|
|
|
|
from: 'Off'
|
|
|
|
platform: state
|
|
|
|
to: 'On'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: switch.upstairs_fan
|
|
|
|
state: 'Off'
|
|
|
|
action:
|
|
|
|
- data:
|
|
|
|
entity_id: switch.upstairs_fan
|
|
|
|
service: switch.turn_on
|
|
|
|
- id: '1562067639239'
|
|
|
|
alias: Upstairs Fan Off
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- entity_id: binary_sensor.upstairs_occupancy
|
|
|
|
from: 'On'
|
|
|
|
platform: state
|
|
|
|
to: 'Off'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: switch.upstairs_fan
|
|
|
|
state: 'On'
|
|
|
|
action:
|
|
|
|
- data:
|
|
|
|
entity_id: switch.upstairs_fan
|
|
|
|
service: switch.turn_off
|
|
|
|
- id: '1562630916597'
|
|
|
|
alias: Kat Pill Reminder
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
2019-07-12 20:35:36 +00:00
|
|
|
- platform: template
|
|
|
|
value_template: "{{ states('sensor.time') == (state_attr('input_datetime.kat_pill_reminder', 'timestamp') | int | timestamp_custom('%H:%M', False)) }}"
|
2019-07-11 11:31:10 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.text_notify_kat
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- data:
|
|
|
|
message: Remember to take meds
|
|
|
|
service: notify.kat_ios
|
|
|
|
- id: new_ha
|
|
|
|
alias: New HA
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: updater.updater
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
entity_id: input_boolean.new_ha_announcement
|
|
|
|
- id: new_ha_annc
|
|
|
|
alias: New HA Annc
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- entity_id: input_boolean.new_ha_announcement
|
|
|
|
from: 'Off'
|
|
|
|
platform: state
|
|
|
|
to: 'On'
|
|
|
|
action:
|
|
|
|
- service: script.twitter_new_ha
|
|
|
|
- service: input_boolean.turn_off
|
2019-07-12 20:35:36 +00:00
|
|
|
entity_id: input_boolean.new_ha_announcement
|