Prep for clean v3

This commit is contained in:
Jeffrey Stone
2018-07-18 13:35:35 -04:00
parent db81a21a50
commit 78cc052167
103 changed files with 0 additions and 3718 deletions

View File

@@ -1,5 +0,0 @@
appliances_off:
sequence:
- service: switch.turn_off
data:
entity_id: switch.master_fan

View File

@@ -1,5 +0,0 @@
appliances_on:
sequence:
- service: switch.turn_on
data:
entity_id: switch.master_fan

View File

@@ -1,6 +0,0 @@
chromecast_media_stop:
sequence:
- service: media_player.media_stop
data:
entity_id: media_player.living_room_tv

View File

@@ -1,12 +0,0 @@
# Turn off Driveway lights after 10 minute delay
driveway_off:
sequence:
- delay:
minutes: 10
- service: switch.turn_off
data:
entity_id: switch.driveway_light
- service: switch.turn_off
data:
entity_id: switch.side_door

View File

@@ -1,12 +0,0 @@
driveway_on:
sequence:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- service: switch.turn_on
data:
entity_id: switch.driveway_light
- service: switch.turn_on
data:
entity_id: switch.side_door

View File

@@ -1,6 +0,0 @@
family_is_away:
sequence:
- service: mqtt.publish
data:
topic: "house/family/status"
payload_template: "away"

View File

@@ -1,6 +0,0 @@
family_is_home:
sequence:
- service: mqtt.publish
data:
topic: "house/family/status"
payload_template: "home"

View File

@@ -1,15 +0,0 @@
fire_alarm_kitchen:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Smoke Detected: Kitchen"
- delay:
minutes: 1
- service: notify.jeff_ios
data:
message: 'Smoke Detected in Kitchen.'
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Attention. Smoke detected in the kitchen.

View File

@@ -1,16 +0,0 @@
garage_abort_lockdown:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "SECURITY: Aborting Lockdown - Garage Could Not Close"
- condition: state
entity_id: input_boolean.secure_mode
state: "on"
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Garage was unable to close.
- service: input_boolean.turn_off
data:
entity_id: input_boolean.secure_mode

View File

@@ -1,11 +0,0 @@
close_garage:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "HASS: Closing Garage"
- condition: state
entity_id: cover.garage_door
state: "open"
- service: cover.close_cover
entity_id: cover.garage_door

View File

@@ -1,11 +0,0 @@
garage_closing:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "INFO: Garage Closing"
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Garage is Closing

View File

@@ -1,13 +0,0 @@
garage_failed_to_close:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "WARN: Garage Could Not Close"
- condition: state
entity_id: sensor.garage_door_contact
state: "open"
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Garage was unable to close.

View File

@@ -1,16 +0,0 @@
#garage_now_closed:
# sequence:
# - event: LOGBOOK_ENTRY
# event_data:
# name: EVENT
# message: "SUCCESS: Garage Now Closed"
# - condition: state
# entity_id: sensor.garage_door_contact
# state: "closed"
#- service: notify.jeff_ios
# data:
# message: 'SUCCESS: Garage Now Closed'
#- service: tts.google_say
# data:
# entity_id: media_player.hass_speaker
# message: Garage has been Closed.

View File

@@ -1,11 +0,0 @@
open_garage:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "opening the garage"
- condition: state
entity_id: cover.garage_door
state: "closed"
- service: cover.open_cover
entity_id: cover.garage_door

View File

@@ -1,9 +0,0 @@
house_lights_up:
sequence:
- delay:
seconds: 3
- condition: state
entity_id: media_player.apple_tv
state: "idle"
- service: scene.turn_on
entity_id: scene.livingroom_normal

View File

@@ -1,12 +0,0 @@
inside_all_off:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Turning inside lights off"
- service: light.turn_off
data:
entity_id: light.tower_lamp
- service: light.turn_off
data:
entity_id: light.front_lamp

View File

@@ -1,15 +0,0 @@
inside_all_on:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Turning inside lights on."
- service: light.turn_on
data:
entity_id: light.tower_lamp
- service: light.turn_on
data:
entity_id: light.front_lamp
- service: scene.turn_on
data:
entity_id: scene.livingroom_normal

View File

@@ -1,8 +0,0 @@
jeff_at_work_notification:
sequence:
- condition: state
entity_id: input_boolean.text_notify_kat
state: "on"
- service: notify.ios_katherinestonesiphone
data:
message: Jeff has arrived at Summit

View File

@@ -1,7 +0,0 @@
jeff_destination_harbins:
sequence:
- service: mqtt.publish
data:
topic: "jeff/driving/destination"
payload: "Harbins"
retain: true

View File

@@ -1,7 +0,0 @@
jeff_destination_home:
sequence:
- service: mqtt.publish
data:
topic: "jeff/driving/destination"
payload: "Home"
retain: true

View File

@@ -1,7 +0,0 @@
jeff_destination_na:
sequence:
- service: mqtt.publish
data:
topic: "jeff/driving/destination"
payload: "na"
retain: true

View File

@@ -1,7 +0,0 @@
jeff_destination_none:
sequence:
- service: mqtt.publish
data:
topic: "jeff/driving/destination"
payload: "none"
retain: true

View File

@@ -1,7 +0,0 @@
jeff_destination_summit:
sequence:
- service: mqtt.publish
data:
topic: "jeff/driving/destination"
payload: "Summit"
retain: true

View File

@@ -1,7 +0,0 @@
jeff_destination_zoo:
sequence:
- service: mqtt.publish
data:
topic: "jeff/driving/destination"
payload: "Zoo"
retain: true

View File

@@ -1,7 +0,0 @@
jeff_is_home:
sequence:
- service: script.jeff_destination_na
- service: script.driveway_on
- service: input_boolean.turn_off
entity_id: input_boolean.jeff_heading_home
- service: script.jeff_is_home_audible

View File

@@ -1,9 +0,0 @@
jeff_is_home_audible:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: "on"
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Jeffrey is home

View File

@@ -1,7 +0,0 @@
kat_destination_na:
sequence:
- service: mqtt.publish
data:
topic: "kat/driving/destination"
payload: "na"
retain: true

View File

@@ -1,12 +0,0 @@
kat_is_home_audible:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: "on"
- condition: state
entity_id: sensor.jeff_presence
state: 'present'
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Katherine is home

View File

@@ -1,7 +0,0 @@
kill_audible_alarm:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Silence Alarm"
- service: shell_command.alarm_off

View File

@@ -1,9 +0,0 @@
lockdown:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "SECURITY: Executing Lockdown procedures"
- service: input_boolean.turn_on
data:
entity_id: input_boolean.secure_mode

View File

@@ -1,11 +0,0 @@
lockdown:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "SECURITY: Executing Lockdown in 5 mins"
- delay:
minutes: 5
- service: input_boolean.turn_on
data:
entity_id: input_boolean.secure_mode

View File

@@ -1,15 +0,0 @@
outside_all_off:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Turning outside lights off."
- service: switch.turn_off
data:
entity_id: switch.driveway_light
- service: switch.turn_off
data:
entity_id: switch.side_door_light
- service: switch.turn_off
data:
entity_id: switch.front_porch

View File

@@ -1,16 +0,0 @@
outside_all_on:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Turning outside lights on."
- service: switch.turn_on
data:
entity_id: switch.driveway_light
- service: switch.turn_on
data:
entity_id: switch.side_door_light
- service: switch.turn_on
data:
entity_id: switch.front_porch

View File

@@ -1,13 +0,0 @@
security_access_authorized:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Access Authorized: Security Measures Standing Down"
#- service: notify.jeff_ios
# data:
# message: 'Access Authorized: Security Measures Standing Down'
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Access Authorized. Security response has been canceled

View File

@@ -1,18 +0,0 @@
security_check_garage:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "SECURITY: Performing Security check - Garage"
- condition: state
#entity_id: sensor.garage_door_contact
entity_id: cover.garage_door
state: "open"
- delay:
minutes: 1
- service: input_boolean.turn_on
data:
entity_id: input_boolean.garage_issue
- service: input_boolean.turn_off
data:
entity_id: input_boolean.secure_mode

View File

@@ -1,16 +0,0 @@
security_check_verified:
sequence:
- condition: state
#entity_id: sensor.garage_door_contact
entity_id: cover.garage_door
state: "closed"
- condition: state
entity_id: group.doors
state: "closed"
- service: notify.jeff_ios
data:
message: "SECURITY: Lockdown procedures Complete"
- service: homeassistant.turn_off
entity_id: script.security_check_zones
- service: homeassistant.turn_off
entity_id: script.security_check_garage

View File

@@ -1,17 +0,0 @@
security_check_zones:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "SECURITY: Performing Security check - Zones"
- condition: state
entity_id: group.doors
state: "Open"
- delay:
seconds: 20
- service: input_boolean.turn_off
data:
entity_id: input_boolean.secure_mode
- service: input_boolean.turn_on
data:
entity_id: input_boolean.security_issue

View File

@@ -1,31 +0,0 @@
security_report:
sequence:
- delay:
seconds: 9
- service: tts.google_say
data_template:
entity_id: media_player.hass_speaker
message: >
{%- if is_state("input_boolean.security_alarm", "on") %}
{%- if is_state("binary_sensor.front_door", "on") %}
Front door is open
{%- endif %}
{%- if is_state("binary_sensor.back_door", "on") %}
Back door is open
{%- endif %}
{%- if is_state("binary_sensor.laundry_room_door", "on") %}
Laundry door is open
{%- endif %}
{%- if is_state("binary_sensor.attic_door", "on") %}
Attic door is open
{%- endif %}
{%- if is_state("binary_sensor.garage_door", "on") %}
Garage door is open
{%- endif %}
{%- if is_state("binary_sensor.garage_motion", "on") %}
Motion in garage
{%- endif %}
{% else %}
House is secure
{%- endif %}

View File

@@ -1,9 +0,0 @@
security_sound_alarm:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Sounding Security Alarm"
- delay:
seconds: 80
- service: shell_command.security_alarm

View File

@@ -1,10 +0,0 @@
security_sound_alarm_intro:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Sounding Security Alarm Intro"
- condition: state
entity_id: sensor.family_status
state: home
- service: shell_command.security_alarm_intro

View File

@@ -1,12 +0,0 @@
security_warning_back_door:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Warning: Back door open"
- delay:
seconds: 5
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Back door open

View File

@@ -1,12 +0,0 @@
security_warning_front_door:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Warning: Front door open"
- delay:
seconds: 5
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: front door open

View File

@@ -1,12 +0,0 @@
security_warning_garage_door:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Warning: Front door open"
- delay:
seconds: 5
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Garage is open

View File

@@ -1,12 +0,0 @@
security_warning_garage_motion:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Warning: Motion in Garage"
- delay:
seconds: 5
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Motion in Garage

View File

@@ -1,12 +0,0 @@
security_warning_front_door:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Warning: Laundry room door open"
- delay:
seconds: 5
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Laundry Room door open

View File

@@ -1,9 +0,0 @@
skylar_dressed_alarm:
sequence:
- condition: state
entity_id: sensor.family_status
state: home
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Good morning Skylar it is time to get dressed

View File

@@ -1,12 +0,0 @@
standby:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Security standing down"
- service: input_boolean.turn_off
data:
entity_id: input_boolean.secure_mode
- service: notify.jeff_ios
data:
message: Anchorage House in Standby

View File

@@ -1,17 +0,0 @@
status_report:
sequence:
- service: tts.google_say
data_template:
entity_id: media_player.hass_speaker
message: >
{% if now().strftime("%H")|int < 12 %}
Good morning
{% elif now().strftime("%H")|int < 18 %}
Good afternoon
{% else %}
Good evening
{% endif %}
It's {{now().strftime("%H%M")}}
It's currently {{states.sensor.dark_sky_summary.state}} and {{states.sensor.dark_sky_temperature.state|round}}
degrees in Grayson. Today will be {{states.sensor.dark_sky_hourly_summary.state|replace(".", "")}}, with a high of
{{states.sensor.dark_sky_daily_high_temperature.state|round}} degrees.

View File

@@ -1,14 +0,0 @@
test_tts:
sequence:
- service: tts.google_say
data_template:
entity_id: media_player.hass_speaker
message: >
{% if now().strftime("%H")|int < 12 %}
Good morning
{% elif now().strftime("%H")|int < 18 %}
Good afternoon
{% else %}
Good evening
{% endif %}
This is simply a test of google's text to speech platform

View File

@@ -1,8 +0,0 @@
vacation_canceled:
sequence:
- condition: state
entity_id: input_boolean.vacation_mode
state: "on"
- service: input_boolean.turn_off
data:
entity_id: input_boolean.vacation_mode

View File

@@ -1,14 +0,0 @@
washer_finished_notification:
sequence:
- condition: state
entity_id: input_boolean.washer_notification
state: 'on'
- delay:
minutes: 45
- service: notify.all_ios
data:
message: "Washer is done"
- service: input_boolean.turn_off
data:
entity_id: input_boolean.washer_notification
- service: script.washer_notification_audible

View File

@@ -1,10 +0,0 @@
washer_notification_audible:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: "on"
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: The Washing Machine has stopped

View File

@@ -1,17 +0,0 @@
wxalert_tile:
sequence:
## Dismiss any current alert so the UI isn't filled
## up with these if there are more then one.
## Only show the latest alert
- service: persistent_notification.dismiss
data:
notification_id: "wxalert"
## Create a new persistant notification in the UI for a new alert
- service_template: >
{% if states.sensor.pws_alerts.attributes.Message %}
persistent_notification.create
{% endif %}
data_template:
notification_id: "wxalert"
message: '{{ states.sensor.pws_alerts.attributes.Message }}'
title: '{{ states.sensor.pws_alerts.attributes.Description }}'