Added washer automations back in
This commit is contained in:
parent
d5766097bb
commit
6ef962fa0c
640
automations.yaml
640
automations.yaml
|
@ -1,220 +1,193 @@
|
||||||
- id: washer_running
|
- id: washer_running
|
||||||
alias: Washer Running
|
alias: Washer Running
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- above: 10
|
||||||
entity_id: sensor.aeotec_dsc06106_smart_energy_switch_power
|
entity_id: sensor.washer
|
||||||
above: 100
|
platform: numeric_state
|
||||||
action:
|
action:
|
||||||
- service: script.washer_running
|
- service: script.washer_running
|
||||||
|
initial_state: true
|
||||||
- id: washer_complete
|
- id: washer_complete
|
||||||
alias: Washer Complete
|
alias: Washer Complete
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- below: '1'
|
||||||
entity_id: sensor.aeotec_dsc06106_smart_energy_switch_power
|
entity_id: sensor.washer
|
||||||
below: 5
|
platform: numeric_state
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.washer_status
|
entity_id: sensor.washer_status
|
||||||
state: 'running'
|
state: running
|
||||||
action:
|
action:
|
||||||
- service: script.washer_complete
|
- service: script.washer_complete
|
||||||
|
initial_state: true
|
||||||
- id: washer_emptied
|
- id: washer_emptied
|
||||||
alias: Washer Emptied
|
initial_state: true
|
||||||
|
alias: Washer Emptied
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.ecolink_door_window_sensor_sensor
|
entity_id: binary_sensor.washer_door
|
||||||
from: 'off'
|
from: 'off'
|
||||||
to: 'on'
|
to: 'on'
|
||||||
action:
|
action:
|
||||||
- service: script.washer_idle
|
- service: script.washer_idle
|
||||||
|
- service: script.turn_off
|
||||||
# - id: washer_notification
|
entity_id: script.washer_finished_notification_audible
|
||||||
# alias: Washer Notification
|
- id: washer_notification
|
||||||
# trigger:
|
initial_state: true
|
||||||
# - platform: state
|
alias: Washer Notification
|
||||||
# entity_id: sensor.washer_status
|
|
||||||
# from: "running"
|
|
||||||
# to: "idle"
|
|
||||||
# condition:
|
|
||||||
# - condition: state
|
|
||||||
# entity_id: sensor.family_status
|
|
||||||
# state: home
|
|
||||||
# - platform: state
|
|
||||||
# entity_id: input_boolean.washer_notification
|
|
||||||
# to: 'on'
|
|
||||||
# action:
|
|
||||||
# - service: homeassistant.turn_on
|
|
||||||
# entity_id: script.washer_finished_notification
|
|
||||||
|
|
||||||
- id: turn_of_disney
|
|
||||||
alias: Turn Off Disney
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: media_player.hass_speaker
|
entity_id: sensor.washer_status
|
||||||
from: 'playing'
|
from: running
|
||||||
to: idle
|
to: complete
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.washer_notification
|
||||||
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_off
|
- service: script.washer_finished_notification_audible
|
||||||
entity_id: input_boolean.tiki_room_audio
|
- id: turn_off_disney
|
||||||
|
initial_state: true
|
||||||
|
alias: Turn Off Disney
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: media_player.hass_speaker
|
||||||
|
from: playing
|
||||||
|
to: idle
|
||||||
|
action:
|
||||||
|
- 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
|
||||||
- id: backup_hass
|
- id: backup_hass
|
||||||
|
initial_state: true
|
||||||
alias: Backup Hass
|
alias: Backup Hass
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '05:00:00'
|
at: 05:00:00
|
||||||
action:
|
action:
|
||||||
- service: script.add_logbook_entry
|
- service: script.add_logbook_entry
|
||||||
data_template:
|
data_template:
|
||||||
name: Backup
|
name: Backup
|
||||||
message: is running
|
message: is running
|
||||||
- service: shell_command.backup
|
- service: shell_command.backup
|
||||||
- service: script.twitter_notify
|
- service: script.twitter_notify
|
||||||
data:
|
data_template:
|
||||||
message: "I just kicked off a backup of #homeassistant to ensure I live on. Do you backup? "
|
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 }}'
|
||||||
- id: net_speed_report
|
- id: net_speed_report
|
||||||
|
initial_state: true
|
||||||
alias: Network Speed Report
|
alias: Network Speed Report
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '11:15:00'
|
at: '11:15:00'
|
||||||
action:
|
action:
|
||||||
- service: script.twitter_notify
|
- service: script.twitter_notify
|
||||||
data:
|
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. "
|
message: '{{ [ "According to my latest speed tests Anchorage House is getting
|
||||||
- id: time_to_leave_summit
|
{{ states.sensor.network_down.state}} Mbps down and {{ states.sensor.network_up.state}}
|
||||||
alias: Time to Leave Jeff
|
Mbps up thanks to #ATTFiber. ", "How fast is your internet? I just checked
|
||||||
initial_state: true
|
am Im seeing {{ states.sensor.network_down.state}} Mbps down and {{ states.sensor.network_up.state}}
|
||||||
trigger:
|
Mbps up. Beat that. ", "My speed is monitored using @home_assistant and https://github.com/thejeffreystone/speedtest_to_mqtt
|
||||||
- platform: numeric_state
|
and is {{ states.sensor.network_down.state}} Mbps down and {{ states.sensor.network_up.state}}
|
||||||
entity_id: sensor.home_summit
|
Mbps up." ] | random }}'
|
||||||
above: 50
|
- id: coffee_time_workday
|
||||||
condition:
|
alias: Coffee Time Workday
|
||||||
- condition: state
|
|
||||||
entity_id: sensor.jeff_location
|
|
||||||
state: Home
|
|
||||||
- condition: time
|
|
||||||
after: '05:30:00'
|
|
||||||
before: '07:00:00'
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.jeff_traffic_alerts
|
|
||||||
state: 'on'
|
|
||||||
action:
|
|
||||||
- service: notify.jeff_ios
|
|
||||||
data:
|
|
||||||
message: Currently {{states.sensor.home_to_summit.attributes.duration | round}}
|
|
||||||
mins to Work. Leave.
|
|
||||||
- service: notify.twitter
|
|
||||||
data:
|
|
||||||
message: "Looks like traffic is bad out there so I let @thejeffreystone know. "
|
|
||||||
- id: hvac_cool_on
|
|
||||||
alias: hvac cool on
|
|
||||||
trigger:
|
|
||||||
- above: 78
|
|
||||||
entity_id: climate.first_floor
|
|
||||||
platform: numeric_state
|
|
||||||
value_template: '{{ states.climate.first_floor.attributes.current_temperature }}'
|
|
||||||
condition:
|
|
||||||
- above: 83
|
|
||||||
condition: numeric_state
|
|
||||||
entity_id: sensor.dark_sky_apparent_temperature
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.vacation_mode
|
|
||||||
state: 'off'
|
|
||||||
action:
|
|
||||||
- service: script.climate_set_cool
|
|
||||||
- data:
|
|
||||||
message: "The Temperature is a bit warm at Anchorage House, so Im turning
|
|
||||||
on the AC. "
|
|
||||||
service: script.twitter_notify
|
|
||||||
initial_state: true
|
|
||||||
- id: hvac_off
|
|
||||||
alias: hvac off
|
|
||||||
trigger:
|
|
||||||
- above: '55'
|
|
||||||
below: '80'
|
|
||||||
entity_id: sensor.dark_sky_apparent_temperature
|
|
||||||
platform: numeric_state
|
|
||||||
condition:
|
|
||||||
- above: '60'
|
|
||||||
below: '78'
|
|
||||||
condition: numeric_state
|
|
||||||
entity_id: climate.first_floor
|
|
||||||
value_template: '{{ states.climate.first_floor.attributes.current_temperature }}'
|
|
||||||
action:
|
|
||||||
- service: script.climate_turn_off
|
|
||||||
- data:
|
|
||||||
message: "The Temperature outside is perfect for opening windows at Anchorage
|
|
||||||
House, so Im turning off the HVAC. "
|
|
||||||
service: script.twitter_notify
|
|
||||||
initial_state: true
|
|
||||||
- id: hvac_heat_on
|
|
||||||
alias: hvac heat on
|
|
||||||
trigger:
|
|
||||||
- below: 61
|
|
||||||
entity_id: climate.first_floor
|
|
||||||
platform: numeric_state
|
|
||||||
value_template: '{{ states.climate.first_floor.attributes.current_temperature }}'
|
|
||||||
condition:
|
|
||||||
- below: 50
|
|
||||||
condition: numeric_state
|
|
||||||
entity_id: sensor.dark_sky_apparent_temperature
|
|
||||||
- state: 'off'
|
|
||||||
condition: state
|
|
||||||
entity_id: input_boolean.vacation_mode
|
|
||||||
action:
|
|
||||||
- service: script.climate_set_heat
|
|
||||||
- data:
|
|
||||||
message: "The Temperature is a bit chilly at Anchorage House, so Im turning
|
|
||||||
on the Heat. "
|
|
||||||
service: script.twitter_notify
|
|
||||||
initial_state: true
|
|
||||||
|
|
||||||
- id: coffee_time
|
|
||||||
alias: Coffee Time
|
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: 05:15:00
|
at: 05:15:00
|
||||||
|
condition:
|
||||||
|
condition: state
|
||||||
|
entity_id: binary_sensor.workday_sensor
|
||||||
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.diminshed_livingroom_lighting
|
entity_id: scene.diminshed_livingroom_lighting
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.diminished_kitchen_lighting
|
entity_id: scene.diminished_kitchen_lighting
|
||||||
- id: good_morning
|
- id: coffee_time_holiday
|
||||||
alias: Good Morning
|
alias: Coffee Time Holiday
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '07:00:00'
|
at: 07:30:00
|
||||||
|
condition:
|
||||||
|
condition: state
|
||||||
|
entity_id: binary_sensor.workday_sensor
|
||||||
|
state: 'off'
|
||||||
|
action:
|
||||||
|
- service: scene.turn_on
|
||||||
|
entity_id: scene.diminshed_livingroom_lighting
|
||||||
|
- service: scene.turn_on
|
||||||
|
entity_id: scene.diminished_kitchen_lighting
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.rainbow_light_4
|
||||||
|
- id: good_morning_workday
|
||||||
|
alias: Good Morning Workday
|
||||||
|
initial_state: true
|
||||||
|
trigger:
|
||||||
|
- platform: time
|
||||||
|
at: 06:30:00
|
||||||
|
condition:
|
||||||
|
condition: state
|
||||||
|
entity_id: binary_sensor.workday_sensor
|
||||||
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.normal_livingroom_lighting
|
entity_id: scene.normal_livingroom_lighting
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.normal_kitchen_lighting
|
entity_id: scene.normal_kitchen_lighting
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
entity_id: switch.rainbow_light
|
entity_id: switch.rainbow_light_4
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.jeff_light_on
|
entity_id: scene.jeff_light_on
|
||||||
- service: script.twitter_notify
|
- service: script.twitter_notify
|
||||||
data:
|
data_template:
|
||||||
message: 'Good Morning! Time to rise and shine at Anchorage House. '
|
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
|
||||||
|
}}'
|
||||||
- id: skylar_bedtime
|
- id: skylar_bedtime
|
||||||
alias: Skylar Bedtime
|
alias: Skylar Bedtime
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '19:15:00'
|
at: '19:15:00'
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.rainbow_light
|
entity_id: switch.rainbow_light_4
|
||||||
- id: jeff_lights_out
|
- id: jeff_lights_out
|
||||||
alias: Jeff lights out
|
alias: Jeff lights out
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '23:00:00'
|
at: '23:00:00'
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.jeff_light_off
|
entity_id: scene.jeff_light_off
|
||||||
|
@ -228,6 +201,9 @@
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.jeff_light
|
entity_id: light.jeff_light
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.jeff_bedtime
|
entity_id: scene.jeff_bedtime
|
||||||
|
@ -241,6 +217,9 @@
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.jeff_light
|
entity_id: light.jeff_light
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.jeff_night_light
|
entity_id: scene.jeff_night_light
|
||||||
|
@ -250,6 +229,10 @@
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '20:00:00'
|
at: '20:00:00'
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.jeff_light_on
|
entity_id: scene.jeff_light_on
|
||||||
|
@ -259,6 +242,10 @@
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: 05:15:00
|
at: 05:15:00
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.jeff_night_light
|
entity_id: scene.jeff_night_light
|
||||||
|
@ -268,6 +255,10 @@
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: 05:30:00
|
at: 05:30:00
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.jeff_wake_up
|
entity_id: scene.jeff_wake_up
|
||||||
|
@ -283,19 +274,22 @@
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: light.loft_lamp
|
entity_id: light.loft_lamp
|
||||||
- service: script.turn_on
|
|
||||||
entity_id: script.driveway_off
|
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
entity_id: switch.incense
|
entity_id: switch.incense
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.artemis
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: light.kitchen_light_strip
|
entity_id: light.kitchen_cabinet_lights
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: light.kitchen_cabinets
|
entity_id: light.kitchen_cabinets
|
||||||
- service: script.twitter_notify
|
- service: script.twitter_notify
|
||||||
data:
|
data_template:
|
||||||
message: 'Good Night from Anchorage House. '
|
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 }}'
|
||||||
- id: outside_lights_on_sunset
|
- id: outside_lights_on_sunset
|
||||||
alias: Outside Lights on at Sunset
|
alias: Outside Lights on at Sunset
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
@ -306,12 +300,15 @@
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: switch.leviton_dz15s_1bz_decora_smart_switch_switch
|
entity_id: switch.front_porch
|
||||||
- service: script.sunset_garage_open
|
- service: script.sunset_garage_open
|
||||||
- service: script.twitter_notify
|
- service: script.twitter_notify
|
||||||
data:
|
data_template:
|
||||||
message: "Its getting dark at Anchorage House, so Im turning on the outside
|
message: '{{ [ "Its getting dark at Anchorage House, so Im turning on the outside
|
||||||
lights. "
|
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 }}'
|
||||||
- id: outside_lights_off_sunrise
|
- id: outside_lights_off_sunrise
|
||||||
alias: Outside Lights off at Sunrise
|
alias: Outside Lights off at Sunrise
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
@ -321,11 +318,13 @@
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: switch.leviton_dz15s_1bz_decora_smart_switch_switch
|
entity_id: switch.front_porch
|
||||||
- service: script.twitter_notify
|
- service: script.twitter_notify
|
||||||
data:
|
data_template:
|
||||||
message: "The sun is up at Anchorage House, so Im turning off the outside
|
message: '{{ [ "The sun is up at Anchorage House, so Im turning off the outside
|
||||||
lights. "
|
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 }}'
|
||||||
- id: inside_on_sunset
|
- id: inside_on_sunset
|
||||||
alias: Inside on at Sunset
|
alias: Inside on at Sunset
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
@ -334,7 +333,8 @@
|
||||||
event: sunset
|
event: sunset
|
||||||
offset: -01:00:00
|
offset: -01:00:00
|
||||||
action:
|
action:
|
||||||
service: script.inside_all_on
|
service: scene.turn_on
|
||||||
|
entity_id: scene.normal_livingroom_lighting
|
||||||
- id: inside_off_sunrise
|
- id: inside_off_sunrise
|
||||||
alias: Inside off at Sunrise
|
alias: Inside off at Sunrise
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
@ -350,49 +350,6 @@
|
||||||
- service: script.inside_all_off
|
- service: script.inside_all_off
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.jeff_light_off
|
entity_id: scene.jeff_light_off
|
||||||
- id: door_chime
|
|
||||||
alias: Door Chine
|
|
||||||
trigger:
|
|
||||||
- entity_id: binary_sensor.ecolink_door_window_sensor_sensor_3
|
|
||||||
from: 'off'
|
|
||||||
platform: state
|
|
||||||
to: 'on'
|
|
||||||
- entity_id: binary_sensor.ecolink_door_window_sensor_sensor_3
|
|
||||||
from: 'on'
|
|
||||||
platform: state
|
|
||||||
to: 'off'
|
|
||||||
- entity_id: binary_sensor.ecolink_door_window_sensor_sensor_2
|
|
||||||
from: 'off'
|
|
||||||
platform: state
|
|
||||||
to: 'on'
|
|
||||||
- entity_id: binary_sensor.ecolink_door_window_sensor_sensor_2
|
|
||||||
from: 'on'
|
|
||||||
platform: state
|
|
||||||
to: 'off'
|
|
||||||
- entity_id: binary_sensor.ecolink_door_window_sensor_sensor_4
|
|
||||||
from: 'off'
|
|
||||||
platform: state
|
|
||||||
to: 'on'
|
|
||||||
- entity_id: binary_sensor.ecolink_door_window_sensor_sensor_4
|
|
||||||
from: 'on'
|
|
||||||
platform: state
|
|
||||||
to: 'off'
|
|
||||||
- entity_id: binary_sensor.dome_door_window_sensor_sensor_2
|
|
||||||
from: 'off'
|
|
||||||
platform: state
|
|
||||||
to: 'on'
|
|
||||||
- entity_id: binary_sensor.dome_door_window_sensor_sensor_2
|
|
||||||
from: 'on'
|
|
||||||
platform: state
|
|
||||||
to: 'off'
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.audible_notifications
|
|
||||||
state: 'on'
|
|
||||||
action:
|
|
||||||
- service: shell_command.door_chime
|
|
||||||
initial_state: true
|
|
||||||
|
|
||||||
- id: ha_start
|
- id: ha_start
|
||||||
alias: HA Startup
|
alias: HA Startup
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
@ -403,55 +360,6 @@
|
||||||
service: frontend.set_theme
|
service: frontend.set_theme
|
||||||
data:
|
data:
|
||||||
name: midnight-AH
|
name: midnight-AH
|
||||||
- id: close_garage_lights_out
|
|
||||||
alias: Close Garage at lights out
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: '22:30:00'
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: cover.cargo_bay
|
|
||||||
state: open
|
|
||||||
action:
|
|
||||||
- service: script.close_garage
|
|
||||||
- id: garage_open_sunset
|
|
||||||
alias: Garage Open At Sunset
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
- platform: sun
|
|
||||||
event: sunset
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: cover.cargo_bay
|
|
||||||
state: open
|
|
||||||
action:
|
|
||||||
- service: script.driveway_on
|
|
||||||
- id: garage_open_after_sunset
|
|
||||||
alias: Garage Opening Driveway Lights On
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: cover.cargo_bay
|
|
||||||
from: closed
|
|
||||||
to: open
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: sun.sun
|
|
||||||
state: below_horizon
|
|
||||||
action:
|
|
||||||
- service: script.driveway_on
|
|
||||||
- id: garage_closed_lights_off
|
|
||||||
alias: Garage Closing Driveway Lights Off
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: cover.cargo_bay
|
|
||||||
from: open
|
|
||||||
to: closed
|
|
||||||
action:
|
|
||||||
- service: script.turn_on
|
|
||||||
entity_id: script.driveway_off
|
|
||||||
- id: turn_off_audible_notifications
|
- id: turn_off_audible_notifications
|
||||||
alias: Turn Off Audible Notifications at 730pm
|
alias: Turn Off Audible Notifications at 730pm
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
@ -483,41 +391,6 @@
|
||||||
action:
|
action:
|
||||||
- entity_id: input_boolean.audible_notifications
|
- entity_id: input_boolean.audible_notifications
|
||||||
service: input_boolean.turn_on
|
service: input_boolean.turn_on
|
||||||
- id: nightly_lockdown
|
|
||||||
alias: Nightly Lockdown
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: '23:00:00'
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: device_tracker.jeffreystonesiphone
|
|
||||||
state: home
|
|
||||||
- condition: state
|
|
||||||
entity_id: device_tracker.katherinestonesiphone
|
|
||||||
state: home
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.guest_mode
|
|
||||||
state: 'off'
|
|
||||||
action:
|
|
||||||
- service: script.lockdown
|
|
||||||
- id: morning_standby
|
|
||||||
alias: Morning Standby
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: 05:30:00
|
|
||||||
condition:
|
|
||||||
condition: or
|
|
||||||
conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: sensor.family_status
|
|
||||||
state: Home
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.guest_mode
|
|
||||||
state: 'on'
|
|
||||||
action:
|
|
||||||
- service: script.standby
|
|
||||||
- id: jeff_eta_home
|
- id: jeff_eta_home
|
||||||
alias: Jeff eta home
|
alias: Jeff eta home
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
@ -549,9 +422,13 @@
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_on
|
- service: input_boolean.turn_on
|
||||||
entity_id: input_boolean.jeff_traffic_alert_home
|
entity_id: input_boolean.jeff_traffic_alert_home
|
||||||
- service: nscript.twitter_notify
|
- service: script.twitter_notify
|
||||||
data:
|
data_template:
|
||||||
message: "Looks like traffic is bad out there so I let @thejeffreystone know. "
|
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
|
||||||
|
}}'
|
||||||
- id: disable_bad_traffic_home_jeff
|
- id: disable_bad_traffic_home_jeff
|
||||||
alias: Disabling Jeff Bad Traffic Home
|
alias: Disabling Jeff Bad Traffic Home
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
@ -569,39 +446,19 @@
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.jeff_traffic_alert_home
|
entity_id: input_boolean.jeff_traffic_alert_home
|
||||||
- id: enable_vacation_mode
|
|
||||||
alias: Enable Vacation Mode
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
- platform: numeric_state
|
|
||||||
entity_id: sensor.jeff_ett_home
|
|
||||||
above: 180
|
|
||||||
- platform: numeric_state
|
|
||||||
entity_id: sensor.kat_ett_home
|
|
||||||
above: 180
|
|
||||||
condition:
|
|
||||||
- condition: numeric_state
|
|
||||||
entity_id: sensor.jeff_ett_home
|
|
||||||
above: 180
|
|
||||||
- condition: numeric_state
|
|
||||||
entity_id: sensor.kat_ett_home
|
|
||||||
above: 180
|
|
||||||
action:
|
|
||||||
- service: input_boolean.turn_on
|
|
||||||
entity_id: input_boolean.vacation_mode
|
|
||||||
- id: '1550107919204'
|
- id: '1550107919204'
|
||||||
alias: Family Is Home
|
alias: Family Is Home Webhook
|
||||||
trigger:
|
trigger:
|
||||||
- platform: webhook
|
- platform: webhook
|
||||||
webhook_id: family_is_home
|
webhook_id: home_webhook
|
||||||
condition: []
|
condition: []
|
||||||
action:
|
action:
|
||||||
- service: script.family_is_home
|
- service: script.family_is_home
|
||||||
- id: '1550108034209'
|
- id: '1550108034209'
|
||||||
alias: Family Is Away
|
alias: Family Is Away Webhook
|
||||||
trigger:
|
trigger:
|
||||||
- platform: webhook
|
- platform: webhook
|
||||||
webhook_id: ''
|
webhook_id: away_webhook
|
||||||
condition: []
|
condition: []
|
||||||
action:
|
action:
|
||||||
- service: script.family_is_away
|
- service: script.family_is_away
|
||||||
|
@ -637,10 +494,10 @@
|
||||||
entity_id: sensor.family_status
|
entity_id: sensor.family_status
|
||||||
state: Away
|
state: Away
|
||||||
action:
|
action:
|
||||||
- service: script.driveway_on
|
|
||||||
- service: script.vacation_canceled
|
- service: script.vacation_canceled
|
||||||
- service: script.appliances_on
|
- service: script.appliances_on
|
||||||
- service: script.standby
|
- service: script.standby
|
||||||
|
- service: script.washer_finished_notification_audible
|
||||||
initial_state: true
|
initial_state: true
|
||||||
- id: family_has_left
|
- id: family_has_left
|
||||||
alias: Family Has Left
|
alias: Family Has Left
|
||||||
|
@ -661,18 +518,16 @@
|
||||||
- service: script.security_check_zones
|
- service: script.security_check_zones
|
||||||
- service: script.lockdown
|
- service: script.lockdown
|
||||||
- service: script.lockdown_issue
|
- service: script.lockdown_issue
|
||||||
|
- service: script.all_fans_off
|
||||||
- id: jeff_is_home
|
- id: jeff_is_home
|
||||||
alias: Jeff is Home
|
alias: Jeff is Home
|
||||||
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- entity_id: device_tracker.jeffreystonesiphone
|
- entity_id: device_tracker.jeffreystonesiphone
|
||||||
event: enter
|
event: enter
|
||||||
platform: zone
|
platform: zone
|
||||||
zone: zone.home
|
zone: zone.home
|
||||||
- entity_id: binary_sensor.jeffrey_presence
|
- entity_id: person.jeffrey
|
||||||
from: 'Off'
|
|
||||||
platform: state
|
|
||||||
to: 'On'
|
|
||||||
- entity_id: device_tracker.hass_jeffsiphone
|
|
||||||
event: enter
|
event: enter
|
||||||
platform: zone
|
platform: zone
|
||||||
zone: zone.home
|
zone: zone.home
|
||||||
|
@ -683,7 +538,6 @@
|
||||||
- service: script.driveway_on
|
- service: script.driveway_on
|
||||||
- entity_id: input_boolean.jeff_travel_monitor
|
- entity_id: input_boolean.jeff_travel_monitor
|
||||||
service: input_boolean.turn_off
|
service: input_boolean.turn_off
|
||||||
initial_state: true
|
|
||||||
- id: jeff_arrives_summit
|
- id: jeff_arrives_summit
|
||||||
alias: Jeff Arrives At Summit
|
alias: Jeff Arrives At Summit
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -717,15 +571,15 @@
|
||||||
event: enter
|
event: enter
|
||||||
platform: zone
|
platform: zone
|
||||||
zone: zone.home
|
zone: zone.home
|
||||||
- entity_id: binary_sensor.kat_presence
|
- entity_id: person.katherine
|
||||||
from: 'Off'
|
event: enter
|
||||||
platform: state
|
platform: zone
|
||||||
to: 'On'
|
zone: zone.home
|
||||||
action:
|
action:
|
||||||
- service: script.family_is_home
|
- service: script.family_is_home
|
||||||
|
- service: script.driveway_on
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.kat_travel_monitor
|
entity_id: input_boolean.kat_travel_monitor
|
||||||
- service: script.driveway_on
|
|
||||||
- id: kat_arrives_zoo
|
- id: kat_arrives_zoo
|
||||||
alias: Kat Arrives at Zoo
|
alias: Kat Arrives at Zoo
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
@ -739,10 +593,12 @@
|
||||||
entity_id: input_boolean.text_notify_jeff
|
entity_id: input_boolean.text_notify_jeff
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
entity_id: input_boolean.kat_travel_monitor
|
||||||
- service: notify.jeff_ios
|
- service: notify.jeff_ios
|
||||||
data:
|
data:
|
||||||
message: Kat arrived at Zoo Atlanta
|
message: Kat arrived at Zoo Atlanta
|
||||||
- service: tts.google_say
|
- service: tts.google_translate_say
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.hass_speaker
|
entity_id: media_player.hass_speaker
|
||||||
message: Kat has arrived at the Zoo
|
message: Kat has arrived at the Zoo
|
||||||
|
@ -763,10 +619,136 @@
|
||||||
entity_id: input_boolean.kat_travel_monitor
|
entity_id: input_boolean.kat_travel_monitor
|
||||||
- id: '1550109528753'
|
- id: '1550109528753'
|
||||||
alias: Jeff Is Heading Home
|
alias: Jeff Is Heading Home
|
||||||
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: webhook
|
- platform: webhook
|
||||||
webhook_id: jeff_heading_home
|
webhook_id: jeff_heading_home
|
||||||
condition: []
|
condition: []
|
||||||
action:
|
action:
|
||||||
- service: script.jeff_destination_home
|
- service: script.jeff_destination_home
|
||||||
|
- 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:
|
||||||
|
- at: 07:35:00
|
||||||
|
platform: time
|
||||||
|
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
|
||||||
|
entity_id: input_boolean.new_ha_announcement
|
Loading…
Reference in New Issue