diff --git a/README.md b/README.md deleted file mode 100644 index 22f84e8..0000000 --- a/README.md +++ /dev/null @@ -1,42 +0,0 @@ - -## Anchorage House - [Home Assistant](https://home-assistant.io/) Configuration - -This repo contains the working [Home Assistant](https://home-assistant.io/) configuration for **Anchorage House**. Below are links to the devices currently being used, blog posts, and other HA enthusists that provided inspiration and configs to help build this config. All of the code is free to use. - -The configuration was migrated from a old PC to a RaspberryPi 3 back in 2017. The old configutation is stored in branch V1-config for anyone that wants to see the old version. - -Read about the continuing work to automate **everything** over on my [blog](https://medium.com/@thejeffreystone) - -#### Devices: -* Apple Devices (Macbooks, Mac Mini, iPhones, iPads) -* [Honeywell Wifi Thermostat](http://a.co/cqvrljP) -* [Amazon Echo Dot](http://a.co/7VYHqvw) -* [Smartthings](http://a.co/2xWyXF5) -* [GE Z-Wave Switches](http://a.co/3OUpcMf) -* [Aeon Energy Switchs](http://a.co/7aKBkst) -* [First Alert Z-Wave Smoke/CO2](http://a.co/iTuEjU8) -* [GoControl Z-Wave Bulbs](http://a.co/ajfXdIS) -* [Cree Connect Bulbs](http://a.co/91ddysL) -* [Foscam FI8918W](http://a.co/cExSWZ7) -* [GoControl Z-Wave Garage Door Opener](http://a.co/iw3H4zQ) -* [ZWave Door Sensor]( http://a.co/4Uj8d5r) -* [Sonoff WiFi Wireless Smart Switch ]( http://a.co/9v8KnBT) -* [Levitron Plug in ZWave Dimmer](http://a.co/8wOv1Gs) -* [Levitron ZWave Switch](http://a.co/1z9EeS3) I prefer these over the GE Ones -* [Dome Motion Sensor](http://a.co/aFlzEmf) -* [Dome Door Window Sensor](http://a.co/eo4DsIk) -* AppleTv -* ChromeCast -* Roku Streaming Stick -* [NeoTec USB SDR](http://a.co/giwQvX1) For getting data from Accurite temperture and humidty sensors -* [Accurite Temp and Humidty Sensors](http://a.co/hcppyvF) -* [Sonoff Wifi Switches](http://a.co/dh5hCZu) - -#### Integrations: -* Amazon Echo -* IFTTT -* Owntracks -* MQTT (For Smartthings and Owntracks) -* Google Maps (For Traffic/Travel Times) -* [Smartthings-MQTT-Bridge](https://github.com/stjohnjohnson/smartthings-mqtt-bridge) -* [RTL_433](https://github.com/merbanan/rtl_433) diff --git a/alerts/garage_issue.yaml b/alerts/garage_issue.yaml deleted file mode 100644 index 6bbf58c..0000000 --- a/alerts/garage_issue.yaml +++ /dev/null @@ -1,10 +0,0 @@ -garage_issue: - name: Garage is open - done_message: Garage is closed - entity_id: input_boolean.garage_issue - state: 'on' - repeat: 5 - can_acknowledge: True - skip_first: False - notifiers: - - jeff_ios \ No newline at end of file diff --git a/alerts/jeff_bad_traffic_home.yaml b/alerts/jeff_bad_traffic_home.yaml deleted file mode 100644 index 01ea943..0000000 --- a/alerts/jeff_bad_traffic_home.yaml +++ /dev/null @@ -1,10 +0,0 @@ -jeff_bad_traffic_home: - name: Leave Now! Currently {{states.sensor.jeff_ett_home.attributes.duration_in_traffic}} mins home! - done_message: Canceling Traffic Alert - entity_id: input_boolean.jeff_traffic_alert_home - state: 'on' - repeat: 10 - can_acknowledge: True - skip_first: False - notifiers: - - jeff_ios \ No newline at end of file diff --git a/alerts/jeff_heading_home.yaml b/alerts/jeff_heading_home.yaml deleted file mode 100644 index 158d5ac..0000000 --- a/alerts/jeff_heading_home.yaml +++ /dev/null @@ -1,10 +0,0 @@ -jeff_heading_home: - name: Jeff will be home in {{states.sensor.jeff_ett_home.attributes.duration_in_traffic}}. - done_message: Jeff is home - entity_id: input_boolean.jeff_heading_home - state: 'on' - repeat: 20 - can_acknowledge: True - skip_first: False - notifiers: - - ios_katherinestonesiphone \ No newline at end of file diff --git a/alerts/kat_heading_home.yaml b/alerts/kat_heading_home.yaml deleted file mode 100644 index e52f456..0000000 --- a/alerts/kat_heading_home.yaml +++ /dev/null @@ -1,10 +0,0 @@ -kat_heading_home: - name: Kat will be home in {{states.sensor.kat_ett_home.attributes.duration_in_traffic}}. - done_message: Kat is home - entity_id: input_boolean.kat_heading_home - state: 'on' - repeat: 20 - can_acknowledge: True - skip_first: False - notifiers: - - jeff_ios \ No newline at end of file diff --git a/alerts/security_issue.yaml b/alerts/security_issue.yaml deleted file mode 100644 index c19a33e..0000000 --- a/alerts/security_issue.yaml +++ /dev/null @@ -1,10 +0,0 @@ -security_issue: - name: Security Issue Prevented Lockdown - done_message: Security Issue Resolved - entity_id: input_boolean.security_issue - state: 'on' - repeat: 2 - can_acknowledge: True - skip_first: False - notifiers: - - all_ios \ No newline at end of file diff --git a/alerts/tornado_warning.yaml b/alerts/tornado_warning.yaml deleted file mode 100644 index 3e88c09..0000000 --- a/alerts/tornado_warning.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# tornado_warning: -# name: Tornado Warning! -# done_message: Tornado Alarm Canceled -# entity_id: input_boolean.tornado_alarm -# state: 'on' -# repeat: 2 -# can_acknowledge: True -# skip_first: False -# notifiers: -# - all_ios \ No newline at end of file diff --git a/alerts/unauthorized_access.yaml b/alerts/unauthorized_access.yaml deleted file mode 100644 index 0ea411f..0000000 --- a/alerts/unauthorized_access.yaml +++ /dev/null @@ -1,10 +0,0 @@ -unauthorized_access: - name: Unauthorized Access - done_message: Access Authorized - entity_id: input_boolean.security_alarm - state: 'on' - repeat: 2 - can_acknowledge: True - skip_first: False - notifiers: - - all_ios \ No newline at end of file diff --git a/automation/daily.yaml b/automation/daily.yaml deleted file mode 100755 index c55c5a8..0000000 --- a/automation/daily.yaml +++ /dev/null @@ -1,67 +0,0 @@ - -# -# -# Daily Triggers -# -# -##################### -- alias: Good Morning - trigger: - - platform: time - hours: 5 - minutes: 15 - seconds: 0 - action: - - service: scene.turn_on - entity_id: scene.livingroom_normal - - service: notify.ios_jeffreystonesiphone - data: - message: Good Morning, Anchorage House is up and online. - -- alias: Good Night - trigger: - - platform: time - hours: 22 - minutes: 0 - seconds: 0 - action: - - service: scene.turn_on - entity_id: scene.livingroom_night - - service: notify.jeff_ios - data: - message: House shutting down for the night, Good Night - -- alias: Sunset Front Porch on - trigger: - - platform: sun - event: sunset - offset: -00:30:00 - action: - - service: switch.turn_on - data: - entity_id: switch.front_porch - -- alias: Sunrise Front Porch off - trigger: - - platform: sun - event: sunrise - action: - - service: switch.turn_off - data: - entity_id: switch.front_porch - -- alias: Sunset Inside on - trigger: - - platform: sun - event: sunset - offset: -01:00:00 - action: - service: script.inside_all_on - -- alias: Sunrise Inside off - trigger: - - platform: sun - event: sunrise - offset: 00:30:00 - action: - - service: script.inside_all_off \ No newline at end of file diff --git a/automation/door.yaml b/automation/door.yaml deleted file mode 100755 index 26fb91f..0000000 --- a/automation/door.yaml +++ /dev/null @@ -1,179 +0,0 @@ - -# -# -# DoorAutomations -# -# -##################### -- alias: Door Opened - trigger: - - platform: state - entity_id: group.doors - from: 'off' - to: 'on' - condition: - - condition: state - entity_id: input_boolean.audible_notifications - state: 'on' - action: - - service: shell_command.door_chime - -- alias: Door Closed - trigger: - - platform: state - entity_id: group.doors - from: 'on' - to: 'off' - condition: - - condition: state - entity_id: input_boolean.audible_notifications - state: 'on' - action: - - service: shell_command.door_chime - - -- alias: Back Door Opened - trigger: - - platform: state - entity_id: binary_sensor.back_door - from: 'off' - to: 'on' - condition: - - condition: state - entity_id: input_boolean.audible_notifications - state: 'on' - action: - - service: homeassistant.turn_on - entity_id: script.security_warning_back_door - -- alias: Back Door Closed - trigger: - - platform: state - entity_id: binary_sensor.back_door - from: 'on' - to: 'off' - action: - - service: homeassistant.turn_off - entity_id: script.security_warning_back_door - -# - alias: Front Door Opened -# trigger: -# - platform: state -# entity_id: sensor.front_door -# from: closed -# to: open -# condition: -# - condition: state -# entity_id: input_boolean.audible_notifications -# state: 'on' -# action: -# - service: tts.google_say -# data: -# entity_id: media_player.hass_speaker -# message: Front Door is open - -# - alias: Front Door Closed -# trigger: -# - platform: state -# entity_id: sensor.front_door -# from: open -# to: closed -# condition: -# - condition: state -# entity_id: input_boolean.audible_notifications -# state: 'on' -# action: -# - service: tts.google_say -# data: -# entity_id: media_player.hass_speaker -# message: Front Door is closed - -# # - alias: Front Door Opened -# # trigger: -# # - platform: state -# # entity_id: sensor.front_door -# # from: closed -# # to: open -# # condition: -# # - condition: state -# # entity_id: input_boolean.audible_notifications -# # state: 'on' -# # action: -# # - service: shell_command.door_chime - -# # - alias: Front Door Closed -# # trigger: -# # - platform: state -# # entity_id: sensor.front_3 -# # from: open -# # to: closed -# # condition: -# # - condition: state -# # entity_id: input_boolean.audible_notifications -# # state: 'on' -# # action: -# # - service: shell_command.door_chime - -# - alias: Laundry Room Door Opened -# trigger: -# - platform: state -# entity_id: sensor.laundry_room_door -# from: closed -# to: open -# condition: -# - condition: state -# entity_id: input_boolean.audible_notifications -# state: 'on' -# action: -# - service: tts.google_say -# data: -# entity_id: media_player.hass_speaker -# message: Laundry Door is open - -# - alias: Laundry Roomm Door Closed -# trigger: -# - platform: state -# entity_id: sensor.laundry_room_door -# from: open -# to: closed -# condition: -# - condition: state -# entity_id: input_boolean.audible_notifications -# state: 'on' -# action: -# - service: tts.google_say -# data: -# entity_id: media_player.hass_speaker -# message: Laundry Door is closed - -- alias: Attic Door Opened - trigger: - - platform: state - entity_id: binary_sensor.attic_door - from: 'off' - to: 'on' - condition: - - condition: state - entity_id: input_boolean.audible_notifications - state: 'on' - action: - - service: tts.google_say - data: - entity_id: media_player.hass_speaker - message: Attic Door is open - -- alias: Attic Door Closed - trigger: - - platform: state - entity_id: binary_sensor.attic_door - from: 'on' - to: 'off' - condition: - - condition: state - entity_id: input_boolean.audible_notifications - state: 'on' - action: - - service: tts.google_say - data: - entity_id: media_player.hass_speaker - message: Attic Door is closed \ No newline at end of file diff --git a/automation/events.yaml b/automation/events.yaml deleted file mode 100755 index 66a3015..0000000 --- a/automation/events.yaml +++ /dev/null @@ -1,99 +0,0 @@ -# -# -# Events -# -############ - -- alias: Trash Morning Notification - trigger: - - platform: time - hours: 6 - minutes: 0 - seconds: 0 - condition: - - condition: time - weekday: - - tue - - condition: state - entity_id: input_boolean.vacation_mode - state: 'off' - - condition: state - entity_id: input_boolean.trash_notification - state: 'on' - action: - - service: notify.all_ios - data: - message: Don't forget to it is Trash Day - -- alias: Washer Running - trigger: - - platform: numeric_state - entity_id: sensor.washer_power - above: 100 - action: - - service: input_boolean.turn_on - entity_id: input_boolean.washer_running - -- alias: Washer Complete - trigger: - - platform: state - entity_id: sensor.washer_status - from: 'running' - to: 'idle' - condition: - - condition: state - entity_id: input_boolean.washer_running - state: 'on' - action: - - service: input_boolean.turn_off - entity_id: input_boolean.washer_running - - service: input_boolean.turn_on - entity_id: input_boolean.washer_notification - -- alias: Washer Emptied - trigger: - - platform: state - entity_id: binary_sensor.washer_door - from: 'off' - to: 'on' - action: - - service: homeassistant.turn_off - entity_id: script.washer_finished_notification - - service: input_boolean.turn_off - entity_id: input_boolean.washer_notification - -- alias: Washer Notification - trigger: - - platform: state - entity_id: input_boolean.washer_notification - to: 'on' - condition: - - condition: state - entity_id: sensor.family_status - state: home - action: - - service: homeassistant.turn_on - entity_id: script.washer_finished_notification - -- alias: Get Dressed Skylar - trigger: - - platform: time - hours: 7 - minutes: 58 - seconds: 0 - condition: - - condition: time - weekday: - - mon - - tue - - wed - - thu - - condition: state - entity_id: input_boolean.guest_mode - state: 'off' - - condition: state - entity_id: input_boolean.skylar_dressed_alarm - state: 'on' - action: - - service: script.skylar_dressed_alarm - \ No newline at end of file diff --git a/automation/garage.yaml b/automation/garage.yaml deleted file mode 100755 index 20bee94..0000000 --- a/automation/garage.yaml +++ /dev/null @@ -1,120 +0,0 @@ -# -# -# Garage -# -############ - - -- alias: Close Garage at Nine - trigger: - - platform: time - hours: 21 - minutes: 0 - seconds: 0 - condition: - - condition: state - entity_id: binary_sensor.garage_door - state: 'on' - action: - - service: script.close_garage - -- alias: Garage Open At Sunset - trigger: - - platform: sun - event: sunset - condition: - - condition: state - entity_id: binary_sensor.garage_door - state: 'on' - action: - - service: script.driveway_on - -- alias: Garage Closed - trigger: - - platform: state - entity_id: binary_sensor.garage_door - from: 'on' - to: 'off' - action: - - service: input_boolean.turn_off - data: - entity_id: input_boolean.garage_issue - -- alias: Garage Issue - trigger: - - platform: state - entity_id: input_boolean.garage_issue - to: 'on' - action: - - service: script.garage_failed_to_close - - -#- alias: Garage Issue Resolved -# trigger: -# - platform: state -# entity_id: input_boolean.garage_issue -# to: 'off' -# action: -# - service: script.garage_now_closed - -#- alias: Garage Closing -# trigger: -# - platform: mqtt -# topic: smartthings/Garage Door/door -# payload: closing -# action: -# - service: script.security_check_garage - -- alias: Garage Opening - trigger: - - platform: state - entity_id: binary_sensor.garage_door - from: closed - to: open - condition: - - condition: state - entity_id: sun.sun - state: 'below_horizon' - action: - - service: tts.google_say - data: - entity_id: media_player.hass_speaker - message: Garage is Opening - -- alias: Garage Opening Driveway Lights On - trigger: - - platform: state - entity_id: binary_sensor.garage_door - from: 'off' - to: 'on' - condition: - - condition: state - entity_id: sun.sun - state: 'below_horizon' - action: - - service: script.driveway_on - -- alias: Garage Closing Driveway Lights Off - trigger: - - platform: state - entity_id: binary_sensor.garage_door - from: 'on' - to: 'off' - action: - - service: homeassistant.turn_on - entity_id: script.driveway_off - -- alias: Garage Motion after Sunset - trigger: - - platform: state - entity_id: binary_sensor.garage_motion - from: 'off' - to: 'on' - condition: - - condition: state - entity_id: sun.sun - state: 'below_horizon' - action: - - service: notify.jeff_ios - data: - message: 'Motion: Garage' diff --git a/automation/media.yaml b/automation/media.yaml deleted file mode 100755 index cfb5202..0000000 --- a/automation/media.yaml +++ /dev/null @@ -1,60 +0,0 @@ -# -# -# Media -# -############ - -# - alias: "Movie Started - Turn Off Lights" -# trigger: -# - platform: state -# entity_id: media_player.apple_tv -# to: 'playing' -# condition: -# - condition: state -# entity_id: sun.sun -# state: 'below_horizon' -# action: -# - service: scene.turn_on -# entity_id: scene.movie_time - -# - alias: "Movie Paused - Lights Dim" -# trigger: -# - platform: state -# entity_id: media_player.apple_tv -# from: 'playing' -# to: 'paused' -# condition: -# - condition: state -# entity_id: sun.sun -# state: 'below_horizon' -# action: -# - service: scene.turn_on -# entity_id: scene.livingroom_dim - -# - alias: "Movie Stopped - Lights On" -# trigger: -# - platform: state -# entity_id: media_player.apple_tv -# from: 'playing' -# to: 'idle' -# condition: -# - condition: state -# entity_id: sun.sun -# state: 'below_horizon' -# action: -# - service: script.house_lights_up - - -# - alias: "Movie Resumed - Lights Off" -# trigger: -# - platform: state -# entity_id: media_player.apple_tv -# from: 'paused' -# to: 'playing' -# condition: -# - condition: state -# entity_id: sun.sun -# state: 'below_horizon' -# action: -# service: scene.turn_on -# entity_id: scene.movie_time \ No newline at end of file diff --git a/automation/notifications.yaml b/automation/notifications.yaml deleted file mode 100755 index b28099b..0000000 --- a/automation/notifications.yaml +++ /dev/null @@ -1,44 +0,0 @@ - -# -# -# Notifications -# -# -##################### - -- alias: Turn Off Audible Notifications at 8pm - trigger: - - platform: time - hours: 20 - minutes: 0 - seconds: 0 - action: - - service: input_boolean.turn_off - entity_id: input_boolean.audible_notifications - - -- alias: Turn Off Audible Notifications at 7pm - trigger: - - platform: time - hours: 19 - minutes: 0 - seconds: 0 - condition: - - condition: state - entity_id: input_boolean.guest_mode - state: 'on' - action: - - service: input_boolean.turn_off - entity_id: input_boolean.audible_notifications - - -- alias: Turn On Audible Notifications at 8am - trigger: - - platform: time - hours: 8 - minutes: 0 - seconds: 0 - action: - - entity_id: input_boolean.audible_notifications - service: input_boolean.turn_on - \ No newline at end of file diff --git a/automation/presence.yaml b/automation/presence.yaml deleted file mode 100755 index 0b78531..0000000 --- a/automation/presence.yaml +++ /dev/null @@ -1,127 +0,0 @@ - -# -# -# Presence Automations -# -# -##################### - -- alias: Family Has arrived - trigger: - - entity_id: sensor.family_status - from: away - platform: state - to: home - action: - - service: script.standby - - service: script.driveway_on - - service: script.vacation_canceled - - service: script.washer_finished_notification - - service: script.appliances_on - -- alias: Family Has Left - 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.close_garage - - service: script.lockdown - - service: script.appliances_off - -- alias: Family Devices Have arrived - trigger: - - entity_id: group.family - from: not_home - platform: state - to: home - condition: - - condition: state - entity_id: sensor.family_presence - state: 'away' - action: - - service: script.family_is_home - -# - alias: Jeff Arrives Home -# trigger: -# # - entity_id: device_tracker.owntracks_jeffreystonesiphone -# # event: enter -# # platform: zone -# # zone: zone.home -# - entity_id: sensor.jeff_presence -# from: 'not present' -# platform: state -# to: 'present' -# action: -# - service: script.jeff_destination_arrived -# - service: script.driveway_on -# - service: input_boolean.turn_off -# entity_id: input_boolean.jeff_heading_home - -- alias: Jeff Arrives At Summit - trigger: - - entity_id: device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00 - event: enter - platform: zone - zone: zone.summit - action: - - service: script.jeff_destination_na - - service: script.jeff_at_work_notification - - service: input_boolean.turn_off - entity_id: input_boolean.jeff_traffic_alert_home - -- alias: Jeff Leaves Summit - trigger: - - entity_id: device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00 - event: leave - platform: zone - zone: zone.summit - action: - - service: input_boolean.turn_off - entity_id: input_boolean.jeff_traffic_alert_home - -- alias: Kat Arrives Home Notification - trigger: - - entity_id: device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5 - event: enter - platform: zone - zone: zone.home - action: - #- service: script.kat_is_home_audible - - service: input_boolean.turn_off - entity_id: input_boolean.kat_heading_home - - service: script.driveway_on - -- alias: Kat Arrives Zoo Notification - trigger: - - platform: zone - event: enter - zone: zone.zoo_atlanta - entity_id: device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5 - condition: - - condition: state - entity_id: input_boolean.text_notify_jeff - state: 'on' - action: - - service: notify.ios_jeffreystonesiphone - data: - message: Kat is at Zoo Atlanta - -- alias: Kat Leaves Zoo Notification - trigger: - - platform: zone - event: leave - zone: zone.zoo_atlanta - entity_id: device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5 - condition: - - condition: state - entity_id: input_boolean.text_notify_jeff - state: 'on' - action: - - service: input_boolean.turn_on - entity_id: input_boolean.kat_heading_home diff --git a/automation/security.yaml b/automation/security.yaml deleted file mode 100755 index 692e382..0000000 --- a/automation/security.yaml +++ /dev/null @@ -1,236 +0,0 @@ - -# -# -# Security -# -# For all these automations the condition should be -# -# - condition: state -# entity_id: input_boolean.secure_mode -# state: 'on' -# -# -##################### - -- alias: Nightly Lockdown - trigger: - - platform: time - hours: 23 - minutes: 00 - seconds: 0 - condition: - - condition: state - entity_id: sensor.jeff_presence - state: 'present' - - condition: state - entity_id: sensor.kat_presence - state: 'present' - - condition: state - entity_id: input_boolean.guest_mode - state: 'off' - action: - - service: script.lockdown - - -- alias: Morning Standby - trigger: - - platform: time - hours: 5 - minutes: 30 - seconds: 0 - 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 - -# - alias: Security Check - Away -# trigger: -# - platform: state -# entity_id: sensor.house_mode -# from: home -# to: away -# action: -# - service: script.security_check_zones -# - service: script.security_check_garage - -- alias: Security Check - trigger: - - platform: state - entity_id: input_boolean.secure_mode - to: 'on' - action: - - service: homeassistant.turn_on - entity_id: script.security_check_zones - - service: homeassistant.turn_on - entity_id: script.security_check_garage - - service: script.security_check_verified - -- alias: Security Breach - trigger: - - platform: state - entity_id: binary_sensor.garage_door - to: open - - platform: state - entity_id: binary_sensor.zone_status - to: open - - platform: state - entity_id: binary_sensor.garage_motion - to: motion - condition: - - condition: state - entity_id: input_boolean.secure_mode - state: 'on' - action: - - service: input_boolean.turn_on - entity_id: input_boolean.security_alarm - -# - alias: Security Breach Garage Door -# trigger: -# - platform: state -# entity_id: sensor.garage_door_contact -# to: open -# condition: -# - condition: state -# entity_id: input_boolean.secure_mode -# state: 'on' -# action: -# - service: script.security_warning_garage_door - -# - alias: Security Breach Garage Motion -# trigger: -# - platform: state -# entity_id: sensor.garage_motion -# to: motion -# condition: -# - condition: state -# entity_id: input_boolean.secure_mode -# state: 'on' -# action: -# - service: script.security_warning_garage_motion - -# - alias: Security Breach Front Door -# trigger: -# - platform: state -# entity_id: sensor.front_door -# to: open -# condition: -# - condition: state -# entity_id: input_boolean.secure_mode -# state: 'on' -# action: -# - service: script.security_warning_front_door - -# - alias: Security Breach Back Door -# trigger: -# - platform: state -# entity_id: sensor.zone_3 -# to: open -# condition: -# - condition: state -# entity_id: input_boolean.secure_mode -# state: 'on' -# action: -# - service: script.security_warning_back_door - - -# - alias: Security Breach Landry Door -# trigger: -# - platform: state -# entity_id: sensor.Laundry_room_door -# to: open -# condition: -# - condition: state -# entity_id: input_boolean.secure_mode -# state: 'on' -# action: -# - service: script.security_warning_laundry_door - -- alias: Security Access Granted - trigger: - - platform: state - entity_id: sensor.house_mode - to: home - - platform: state - entity_id: sensor.family_status - to: home - condition: - - condition: state - entity_id: input_boolean.secure_mode - state: 'on' - action: - - service: input_boolean.turn_off - entity_id: input_boolean.security_alarm - -- alias: Security Alarm Activated - trigger: - platform: state - entity_id: input_boolean.security_alarm - to: 'on' - action: - - service: homeassistant.turn_on - entity_id: script.security_sound_alarm_intro - - service: homeassistant.turn_on - entity_id: script.security_sound_alarm - - service: homeassistant.turn_on - entity_id: script.security_report - - -- alias: Security Alarm Deactivated - trigger: - platform: state - entity_id: input_boolean.security_alarm - to: 'off' - action: - - service: homeassistant.turn_off - entity_id: script.security_sound_alarm - - service: script.access_authorized - - service: script.standby - - service: homeassistant.turn_off - entity_id: script.security_sound_alarm_intro - - service: homeassistant.turn_off - entity_id: script.security_report - -- alias: Security Issue Resolved - trigger: - - platform: state - entity_id: binary_sensor.garage_door - to: closed - - platform: state - entity_id: sensor.zone_status - to: closed - condition: - - condition: state - entity_id: binary_sensor.garage_door - state: 'closed' - - condition: state - entity_id: sensor.zone_status - state: 'closed' - action: - - service: input_boolean.turn_off - entity_id: input_boolean.security_issue - -- alias: Late Arrival Lockdown - trigger: - - platform: state - entity_id: sensor.jeff_presence - to: 'present' - - platform: state - entity_id: sensor.jeff_presence - to: 'present' - condition: - - condition: state - entity_id: input_boolean.guest_mode - state: 'off' - - condition: time - after: '23:00:00' - before: '05:00:00' - action: - - service: script.lockdown_delay - diff --git a/automation/switches.yaml b/automation/switches.yaml deleted file mode 100755 index 4d8bffa..0000000 --- a/automation/switches.yaml +++ /dev/null @@ -1,25 +0,0 @@ -# -# -# Switches -# -############ - -- alias: "Kitchen - Turn Off Lights" - trigger: - - platform: state - entity_id: light.kitchen_cabinets - to: 'off' - action: - - service: light.turn_off - data: - entity_id: light.kitchen_light_strip - -- alias: "Kitchen - Turn On Lights" - trigger: - - platform: state - entity_id: light.kitchen_cabinets - to: 'on' - action: - - service: light.turn_on - data: - entity_id: light.kitchen_light_strip \ No newline at end of file diff --git a/automation/transit.yaml b/automation/transit.yaml deleted file mode 100755 index df2096f..0000000 --- a/automation/transit.yaml +++ /dev/null @@ -1,67 +0,0 @@ -# -# -# Transit -# -############ - -- alias: Jeff eta home - trigger: - - platform: state - entity_id: sensor.jeff_destination - to: Home - condition: - - condition: state - entity_id: input_boolean.text_notify_kat - state: 'on' - action: - - service: input_boolean.turn_on - entity_id: input_boolean.jeff_heading_home - -##### Jeff Traffic Alerts -- alias: Enable Jeff Bad Traffic Home - 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 - -- alias: Disabling Jeff Bad Traffic Home - trigger: - - platform: numeric_state - entity_id: sensor.jeff_ett_home - below: 40 - 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 - -- alias: Enable Vacation Mode - 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 diff --git a/automation/weather.yaml b/automation/weather.yaml deleted file mode 100755 index a7a903b..0000000 --- a/automation/weather.yaml +++ /dev/null @@ -1,88 +0,0 @@ -# -# -# Weather -# -############ - -- alias: Cloudy inside on - trigger: - - platform: time - at: '16:00:00' - condition: - - condition: numeric_state - entity_id: sensor.dark_sky_cloud_coverage - above: 70 - - condition: state - entity_id: group.family - state: home - action: - - service: notify.ios_jeffreystonesiphone - data: - message: Cloudy, turning on LR Lamp - -- alias: Cloudy porch on early - trigger: - - platform: sun - event: sunset - offset: -01:30:00 - condition: - - condition: numeric_state - entity_id: sensor.dark_sky_cloud_coverage - above: 70 - action: - - service: switch.turn_on - data: - entity_id: switch.front_porch_left - - service: switch.turn_on - data: - entity_id: switch.front_porch_right - -- alias: Kill Audible Tornado Alarm - trigger: - - platform: state - entity_id: input_boolean.tornado_alarm - to: 'off' - action: - - service: script.chromecast_stop_media - - service: homeassistant.turn_off - entity_id: script.tornado_alarm - -- alias: Sound Audible Tornado Alarm - trigger: - - platform: state - entity_id: input_boolean.tornado_alarm - to: "on" - action: - - service: homeassistant.turn_on - entity_id: script.tornado_alarm - -- alias: Tornado Warning - trigger: - - platform: state - entity_id: sensor.tornado_warning - to: "active" - action: - - service: input_boolean.turn_on - entity_id: input_boolean.tornado_alarm - -- alias: Wx Alert Notification - trigger: - - platform: state - entity_id: sensor.pws_alerts - action: - - service: script.wxalert_tile - -- alias: "Weather Watch Tornado" - trigger: - - platform: state - entity_id: sensor.pws_alerts - condition: - condition: or - conditions: - - condition: template - value_template: '{{ states.sensor.pws_alerts.attributes.Description == "Tornado Watch" }}' - - condition: template - value_template: '{{ states.sensor.pws_alerts.attributes.Description_TOW == "Tornado Watch" }}' - action: - - service: input_boolean.turn_on - entity_id: input_boolean.tornado_watch \ No newline at end of file diff --git a/binary_sensors/doors.yaml b/binary_sensors/doors.yaml deleted file mode 100644 index 0b73b39..0000000 --- a/binary_sensors/doors.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- platform: mqtt - name: "Back Door" - state_topic: "smartthings/Back Door/contact" - payload_on: "open" - payload_off: "closed" - retain: true - device_class: door -- platform: mqtt - name: "Garage Door" - state_topic: "smartthings/Garage Door/contact" - payload_on: "open" - payload_off: "closed" - retain: true - device_class: garage_door -- platform: mqtt - name: "Front Door" - state_topic: "smartthings/Front Door/contact" - payload_on: "open" - payload_off: "closed" - retain: true - device_class: door -- platform: mqtt - name: "Laundry Room Door" - state_topic: "smartthings/Laundry Room Door/contact" - payload_on: "open" - payload_off: "closed" - retain: true - device_class: door -- platform: mqtt - name: "Attic Door" # Dome Door Sensor - state_topic: "smartthings/Attic Door/contact" - payload_on: "open" - payload_off: "closed" - retain: true - device_class: door -- platform: mqtt - name: "Washer Door" # Dome Door Sensor - state_topic: "smartthings/Washer Door/contact" - payload_on: "open" - payload_off: "closed" - retain: true - device_class: door \ No newline at end of file diff --git a/binary_sensors/motion.yaml b/binary_sensors/motion.yaml deleted file mode 100644 index 05d598b..0000000 --- a/binary_sensors/motion.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- platform: mqtt - name: "Garage Dome Sensor" # Dome Motion Sensor - state_topic: "smartthings/Garage Motion/contact" - payload_on: "open" - payload_off: "closed" - retain: true - device_class: motion diff --git a/configuration.yaml b/configuration.yaml deleted file mode 100644 index a8203e9..0000000 --- a/configuration.yaml +++ /dev/null @@ -1,200 +0,0 @@ -homeassistant: - name: Home - latitude: !secret MY_LATITUDE - longitude: !secret MY_LONGITUDE - elevation: 315 - unit_system: imperial - time_zone: America/New_York - customize: !include customize.yaml - -frontend: - themes: - blue: - primary-color: "#356AA0" - -http: - api_password: !secret MY_API_PASS - #ssl_certificate: !secret SSL_CERT - #ssl_key: !secret SSL_KEY - #base_url: !secret BASEURL - cors_allowed_origins: - - https://google.com - - https://home-assistant.io - use_x_forwarded_for: True - trusted_networks: - - 127.0.0.1 - - 192.168.7.0/24 - ip_ban_enabled: True - login_attempts_threshold: 5 - -config: - -conversation: - -device_tracker: - - platform: nmap_tracker - hosts: 192.168.7.1/24 - track_new_devices: yes - - platform: icloud - username: !secret ICLOUD_USER - password: !secret ICLOUD_PASS - track_new_devices: yes - - platform: google_maps - username: !secret GV_USER - password: !secret GV_PASS - - platform: owntracks - track_new_devices: yes - #- platform: bluetooth_tracker - -discovery: - -updater: - #include_used_components: true - -sun: - -#https://home-assistant.io/components/recorder/ -recorder: - purge_interval: 1 - purge_keep_days: 3 - -#https://home-assistant.io/components/logger/ -logger: - default: error - logs: - homeassistant.components.sensor.template: critical - homeassistant.components.cover: critical - -history: - -#zwave: -# usb_path: /dev/ttyACM0 - -media_player: - - platform: cast - - platform: apple_tv - host: 192.168.7.58 - login_id: !secret apple_tv_login - - platform: roku - host: 192.168.7.52 - name: roku living room - - platform: vlc - name: hass_speaker - arguments: '--alsa-audio-device=hw:0,0' - - platform: yamaha - host: 192.168.7.56 - source_ignore: - - "AUX" - - "V-AUX" - - "AV1" - - "AV2" - - "AV3" - - "AV4" - - "AV5" - - "AV6" - - "SiriusXM" - - "Pandora" - - "Rhapsody" - - "TURNER" - - "AUDIO1" - - "AUDIO2" - - "SERVER" - source_names: - HDMI1: "BluRay" - HDMI2: "Chromecast" - HDMI3: "Xbox" - HDMI4: "Roku" - HDMI5: "AppleTv" - zone_ignore: - - "Zone_2" - zone_names: - Main_Zone: "Theater" - - -tts: - - platform: google - cache: true - cache_dir: /tmp/tts - time_memory: 300 - -notify: - - platform: ios - - name: all_ios - platform: group - services: - - service: ios_jeffreystonesiphone - - service: ios_jeffreystonesipad - - service: ios_katherinestonesiphone - - name: jeff_ios - platform: group - services: - - service: ios_jeffreystonesiphone - - service: ios_jeffreystonesipad - -mqtt: - broker: 192.168.7.24 - port: 1883 - username: !secret MQTT_USER - password: !secret MQTT_PASS - - -### Includes ### -alert: !include_dir_merge_named alerts/ -group: !include groups.yaml -automation: !include_dir_merge_list automation -sensor: !include_dir_merge_list sensors -binary_sensor: !include_dir_merge_list binary_sensors -light: !include_dir_merge_list lights -switch: !include_dir_merge_list switches -script: !include_dir_merge_named scripts/ -intent_script: !include intents/intents.yaml -scene: !include scenes.yaml -input_select: !include input_select.yaml -input_boolean: !include input_boolean.yaml -zone: !include zones.yaml -#ios: !include ios.yaml - -duckdns: - domain: !secret duckdns_domain - access_token: !secret duckdns_token - - -python_script: - -### Devices and Services - -ifttt: - key: !secret IFTTT_API_KEY - -cover: - - platform: mqtt - name: "Garage Door" - state_topic: 'smartthings/Garage Door/contact' - command_topic: 'smartthings/Garage Door/door' - state_open: 'open' - state_closed: 'closed' - payload_open: 'open' - payload_close: 'closed' - retain: true - optimistic: true - -climate: - platform: honeywell - username: !secret HONEYWELL_USER - password: !secret HONEYWELL_PASS - name: First Floor - region: us - scan_interval: 600 - -alexa: - -map: - -### Custom Commands - -shell_command: - alarm_off: pkill mpg123 - tornado_alarm: mpg123 /media/audio/Tornado_Siren.mp3 - door_chime: mpg123 /media/audio/Store_Door_Chime.mp3 - security_alarm: mpg123 /media/audio/security_siren.mp3 - security_alarm_intro: mpg123 /media/audio/Siren_Noise.mp3 diff --git a/customize.yaml b/customize.yaml deleted file mode 100644 index 286c790..0000000 --- a/customize.yaml +++ /dev/null @@ -1,309 +0,0 @@ -### CUSTOMIZE ### - -# Speedtest # -sensor.speedtest_ping: - icon: mdi:speedometer - friendly_name: Ping -sensor.speedtest_download: - icon: mdi:download - friendly_name: Download -sensor.speedtest_upload: - icon: mdi:upload - friendly_name: Upload - - -# Weather # -sensor.dark_sky_summary: - icon: mdi:leaf - friendly_name: Conditions -sensor.dark_sky_temperature: - icon: mdi:thermometer-lines - friendly_name: 'Outdoor Temperature' -sensor.dark_sky_apparent_temperature: - icon: mdi:thermometer-lines - friendly_name: 'Apparent Temperature' -sensor.dark_sky_precip: - icon: mdi:weather-pouring - friendly_name: Precipitation -sensor.dark_sky_precip_probability: - icon: mdi:weather-pouring - friendly_name: Precipitation Chance -sensor.dark_sky_precip_intensity: - icon: mdi:weather-pouring - friendly_name: Precip Intensity -sensor.dark_sky_humidity: - icon: mdi:water-percent - friendly_name: 'Outdoor Humidity' -sensor.dark_sky_cloud_coverage: - icon: mdi:weather-cloudy - friendly_name: Cloud Coverage -sensor.dark_sky_nearest_storm_distance: - icon: mdi:weather-lightning - friendly_name: Nearest Storm Distance -sensor.dark_sky_nearest_storm_bearing: - icon: mdi:compass-outline - friendly_name: Nearest Storm Bearing -sensor.dark_sky_wind_speed: - icon: mdi:weather-windy - friendly_name: Wind Speed -sensor.pws_wind_mph: - icon: mdi:weather-windy - friendly_name: Wind Speed -sensor.pws_wind_gust_mph: - icon: mdi:weather-windy - friendly_name: Wind Gusts -sensor.pws_precip_today_in: - icon: mdi:gauge - friendly_name: Rain Gauge -sensor.dark_sky_wind_bearing: - icon: mdi:compass-outline - friendly_name: Wind Direction -sensor.pws_wind_dir: - icon: mdi:compass-outline - friendly_name: Wind Direction -sensor.dark_sky_ozone: - icon: mdi:cloud -sensor.dark_sky_pressure: - icon: mdi:weight - friendly_name: Pressure -sensor.dark_sky_dew_point: - icon: mdi:thermometer - friendly_name: Dew Point -sensor.dark_sky_visability: - icon: mdi:eye-outline - friendly_name: Visability -sensor.dark_sky_daily_low_temperature: - friendly_name: Todays Low - icon: thermometer-lines -sensor.dark_sky_daily_high_temperature: - friendly_name: Todays High - icon: thermometer-lines -sensor.dark_sky_daily_max_precip_intensity: - friendly_name: Rain Intensity - icon: gauge -sensor.pws_alerts: - friendly_name: "Weather Alerts" - icon: mdi:alert - -# Jeff # - -device_tracker.owntracks_jeffreystonesiphone: - entity_picture: !secret JEFF_ICON - friendly_name: Jeff -sensor.jeffrey_location: - entity_picture: !secret JEFF_ICON - friendly_name: Jeff -sensor.jeff_location: - entity_picture: !secret JEFF_ICON -sensor.jeff_destination: - icon: mdi:google-maps - name: "Jeffs Destination" -device_tracker.jeffreystonesiphone: - entity_picture: !secret JEFF_ICON - friendly_name: Jeff -device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00: - entity_picture: !secret JEFF_ICON - friendly_name: Jeff -sensor.jeff_iphone_batt: - friendly_name: "Jeff's iPhone Battery" -sensor.jeff_ett_home: - friendly_name: "Jeff's ETA Home" - icon: mdi:car -device_tracker.jeffreyonestonesipad: - icon: mdi:tablet-ipad - friendly_name: "Jeff's iPad" -device_tracker.jeffreysmbp: - icon: mdi:laptop-mac - friendly_name: "Jeff's MacBook" -device_tracker.jstonemac: - icon: mdi:laptop-mac - friendly_name: "Jeff's Work Mac" -sensor.jeff_work_mbp: - icon: mdi:laptop-mac -sensor.jeff_mbp: - icon: mdi:laptop-mac -sensor.jeff_ipad: - icon: mdi:tablet-ipad - -# Kat ## -device_tracker.katherinestonesiphone: - entity_picture: !secret KAT_ICON - friendly_name: Kat -sensor.kat_location: - entity_picture: !secret KAT_ICON -device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5: - entity_picture: !secret KAT_ICON - friendly_name: Kat -sensor.kat_iphone_batt: - friendly_name: "Kat's iPhone Battery" -device_tracker.katherinesipad: - icon: mdi:tablet-ipad - friendly_name: "Kat's Ipad" -device_tracker.katherinesmini: - icon: mdi:desktop-mac - friendly_name: "Kat's Mini" -sensor.kat_ett_home: - friendly_name: "Kat's ETA Home" - icon: mdi:car -sensor.kat_mini: - icon: mdi:desktop-mac -sensor.kat_ipad: - icon: mdi:tablet-ipad -sensor.kat_destination: - icon: mdi:google-maps - name: "Jeffs Destination" - -# Device ## -device_tracker.gateway2f3bca: - icon: mdi:nest-thermostat - friendly_name: Honeywell -sensor.appletv: - icon: mdi:apple -sensor.roku: - icon: mdi:television -sensor.xboxone: - icon: mdi:xbox -sensor.chromecast: - icon: mdi:cast -sensor.samsungtv: - icon: mdi:television -sensor.amazon_dot_lr: - icon: mdi:amazon -sensor.amazon_dot_kn: - icon: mdi:amazon -sensor.honeywell: - icon: mdi:nest-thermostat -sensor.smartthings: - icon: mdi:router-wireless -sensor.eero_loft: - icon: mdi:router-wireless -sensor.eero_livingroom: - icon: mdi:router-wireless -media_player.roku_5s6719003683: - friendly_name: Roku Living Room - icon: mdi:youtube-tv - -# Switches and Lights ## -switch.fireplace_lights: - icon: mdi:spotlight-beam -switch.tower_lamp: - icon: mdi:lightbulb -switch.driveway_light: - icon: mdi:lightbulb -switch.side_door: - icon: mdi:lightbulb -switch.front_porch: - icon: mdi:lightbulb -switch.front_lamp: - icon: mdi:lightbulb -switch.loft_lamp: - icon: mdi:lightbulb -cover.garage_door: - device_class: garage - friendly_name: Garage Door - homebridge_cover_type: garage_door -switch.master_fan: - friendly_name: "Master Box Fan" - icon: mdi:power-plug -switch.house_secured: - name: House Secured - icon: mdi:lock -switch.vacation_mode: - name: Vacation Mode - icon: mdi:airplane-takeoff -switch.guest_mode: - name: Guest Mode - icon: mdi:account-multiple -switch.notifications_to_kat: - name: Notify Katherine - icon: mdi:telegram -switch.notifications_to_jeff: - name: Notify Jeff - icon: mdi:telegram -switch.automations: - name: automations - icon: mdi:home-automation -switch.kitchen_cabinets: - icon: mdi:lightbulb -switch.kitchen_light_strip: - icon: mdi:lightbulb -switch.garage_alarm: - name: Garage Door Alarm - icon: mdi:alert -input_select.trash_pickup: - name: Trash Pickup - icon: mdi:delete-variant -input_select.recycle_pickup: - name: Recycle Pickup - icon: mdi:delete-variant -switch.trash_notification: - name: Trash Notifications - icon: mdi:telegram - -# Travel Times ## -sensor.home_to_summit: - friendly_name: "Home to Summit" - icon: mdi:car -sensor.home_to_zoo: - friendly_name: "Home to Zoo Atlanta" - icon: mdi:car - - -# Various Sensors ## -sensor.kitchen_fire: - name: Kitchen Smoke Detector - icon: mdi:tower-fire -sensor.smoke_kitchen: - icon: mdi:fire -sensor.family_status: - icon: mdi:home - name: Family Status -sensor.ha_uptime: - friendly_name: HA Uptime - icon: mdi:clock-start -sensor.installed_version: - friendly_name: Installed - icon: mdi:folder-download -sensor.lets_encrypt_expiration: - friendly_name: Lets Encrypt Expiration - icon: mdi:timelapse -sensor.current_ha_version: - friendly_name: Latest Release - icon: mdi:github-circle -sensor.connected_clients: - friendly_name: Connections - icon: mdi:lan-connect -zwave.aeotec_zw090_zstick_gen5_us: - friendly_name: Zwave USB Hub -sensor.ha_v2db: - friendly_name: HA Database - icon: mdi:file -sensor.ha_log: - friendly_name: HA Log - icon: mdi:file -sensor.accurite_back_porch_temperature: - friendly_name: Back Porch Temp - icon: mdi:thermometer - unit_of_measurement: '°F' -sensor.accurite_back_porch_humidity: - friendly_name: Back Porch Humidity - icon: mdi:water-percent - unit_of_measurement: '%' -sensor.accurite_garage_temperature: - friendly_name: Garage Temp - icon: mdi:thermometer - unit_of_measurement: '°F' -sensor.accurite_garage_humidity: - friendly_name: Garage Humidity - icon: mdi:water-percent - unit_of_measurement: '%' -binary_sensor.garage_dome_sensor: - friendly_name: Garage Motion -sensor.washer_power: - friendly_name: Washer Power - icon: mdi:power-plug - unit_of_measurement: 'w' -sensor.washer: - icon: mdi:power-plug - - diff --git a/groups.yaml b/groups.yaml deleted file mode 100644 index b4f353a..0000000 --- a/groups.yaml +++ /dev/null @@ -1,409 +0,0 @@ -### Views ### -default_view: - name: Home - view: yes - icon: mdi:home - entities: - - persistent_notification.wxalert - - group.house - - group.thermostat - - group.garage - - group.appliances - - group.pollen_forecast - - group.outside_temp - -security: - name: Security - view: yes - icon: mdi:security - entities: - - group.security_system - - group.security_alerts - - group.all_doors - - group.motion_sensors - - group.fire - -lights: - name: Lights - view: yes - icon: mdi:lightbulb - entities: - - group.living_room - - group.master_bedroom - - group.loft - - group.driveway - - group.front_porch - - group.kitchen - - group.scenes - -people: - name: People - view: yes - icon: mdi:human-male-female - entities: - - group.jeffrey - - group.katherine - - group.travel_times - -media: - name: media - view: yes - icon: mdi:theater - entities: - - group.tvs - - group.gaming - - media_player.yamaha_receiver_theater - - media_player.apple_tv_2 - - media_player.living_room_tv - - media_player.roku_5s6719003683 - - media_player.guest_tv - -power: - name: power usage - view: yes - icon: mdi:power-plug - entities: - - group.laundry_room - -weather: - name: weather - view: yes - icon: mdi:tree - entities: - - group.weather_summary - - group.weather_alerts - - group.sun_and_moon - - group.weather_forecast - - group.pollen_forecast - - group.precipitation - - group.wind - - group.daily_stats - - -homeassistant: - name: HA - view: yes - icon: mdi:home-automation - entities: - - group.ha_system_monitor - - group.ha_version_info - - group.file_size - - group.internet - - group.computers - - group.home_automation - -chores: - name: Chores - view: yes - icon: mdi:calendar - entities: - - group.trash_schedule - -settings: - name: Settings - view: yes - icon: mdi:settings - entities: - - group.house_notifications - - group.presence_notifications - - group.event_notifications - - group.skylar_alarms - -################################################################################# -### Grops ### -Security Status: - - sensor.garage_door - - binary_sensor.back_door - - binary_sensor.front_door - - binary_sensor.laundry_room_door - - binary_sensor.attic_door - - binary_sensor.garage_dome_sensor - - binary_sensor.garage_door - - sensor.smoke_kitchen - - sensor.attic_door - -Security Alerts: - control: hidden - entities: - - input_boolean.garage_issue - - input_boolean.security_alarm - - input_boolean.tornado_alarm - -Security System: - control: hidden - entities: - - sensor.security_status - - input_boolean.secure_mode - - input_boolean.vacation_mode - -House: - control: hidden - entities: - - sensor.house_status - - input_boolean.audible_notifications - - input_boolean.guest_mode - -Motion Sensors: - - binary_sensor.garage_dome_sensor - -Doors: - - binary_sensor.back_door - - binary_sensor.front_door - - binary_sensor.laundry_room_door - - binary_sensor.attic_door - -All Doors: - control: hidden - name: Doors - entities: - - binary_sensor.back_door - - binary_sensor.front_door - - binary_sensor.laundry_room_door - - binary_sensor.attic_door - - binary_sensor.garage_door - -Attic: - - binary_sensor.attic_door - -Family: - - device_tracker.jeffreystonesiphone - - device_tracker.owntracks_jeffreystonesiphone - - device_tracker.katherinestonesiphone - -Jeffrey: - control: hidden - entities: - - sensor.jeff_location - - sensor.jeff_destination - - sensor.jeff_iphone_batt - - sensor.jeff_ett_home - - input_boolean.jeff_heading_home - - input_boolean.text_notify_jeff - -Jeffrey Location: - control: hidden - entities: - - device_tracker.owntracks_jeffreystonesiphone - - device_tracker.jeffreystonesiphone - - device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00 - -Katherine: - control: hidden - entities: - - sensor.kat_location - - sensor.kat_destination - - sensor.kat_iphone_batt - - sensor.kat_ett_home - - input_boolean.kat_heading_home - - input_boolean.text_notify_kat - -Travel Times: - - sensor.home_to_summit - - sensor.home_to_zoo - - sensor.jeff_ett_home - - sensor.kat_ett_home - -Living Room: - - switch.fireplace_lights - - light.tower_lamp - - light.front_lamp - -Loft: - - light.loft_lamp - -Master Bedroom: - - switch.master_fan - -Laundry Room: - #- switch.washer - - sensor.washer_power - -Kitchen: - - light.kitchen_cabinets - - light.kitchen_light_strip - -Appliances: - - sensor.washer_status - -Scenes: - - scene.livingroom_dim - - scene.livingroom_night - - scene.livingroom_normal - - scene.movie_time - - scene.dim_kitchen - - scene.normal_kitchen - -Outside Lights: - - switch.driveway_light - - switch.side_door - - switch.front_porch - -Driveway: - - switch.driveway_light - - switch.side_door - -Front Porch: - - switch.front_porch - -Thermostat: - - climate.first_floor - -Sun and Moon: - - sun.sun - - sun.next_rising - - sun.next_setting - - sensor.moon - -Weather Summary: - - sensor.dark_sky_summary - - sensor.dark_sky_apparent_temperature - - sensor.dark_sky_humidity - - sensor.dark_sky_dew_point - - sensor.accurite_back_porch_temperature - - sensor.accurite_back_porch_humidity - - -Weather Forecast: - - sensor.dark_sky_minutely_summary - - sensor.dark_sky_hourly_summary - - sensor.dark_sky_daily_summary - -Outside Temp: - - sensor.dark_sky_apparent_temperature - - sensor.dark_sky_humidity - - sensor.dark_sky_dew_point - - sensor.accurite_back_porch_temperature - - sensor.accurite_back_porch_humidity - -Precipitation: - - sensor.dark_sky_nearest_storm_distance - - sensor.dark_sky_precip - - sensor.dark_sky_precip_probability - - sensor.pws_precip_today_in - - sensor.dark_sky_visibility - - sensor.dark_sky_pressure - -Wind: - - sensor.pws_wind_mph - - sensor.pws_wind_gust_mph - - sensor.pws_wind_dir - -Daily Stats: - - sensor.dark_sky_daily_low_temperature - - sensor.dark_sky_daily_high_temperature - - sensor.dark_sky_daily_max_precip_intensity - -Internet: - - sensor.speedtest_ping - - sensor.speedtest_download - - sensor.speedtest_upload - -Home Automation: - - sensor.smartthings - - sensor.amazon_dot_lr - - sensor.amazon_dot_kn - - sensor.honeywell - - sensor.eero_loft - - sensor.eero_livingroom - -#Cameras: -# - device_tracker.ipcam_00626e46eb09_1 -TVs: - - sensor.samsungtv - - sensor.xboxone - -Computers: - - sensor.jeff_ipad - - sensor.jeff_mbp - - sensor.jeff_work_mbp - - sensor.kat_ipad - - sensor.kat_mini - -Garage Door: - - cover.garage_door - -Modes: - control: hidden - entities: - - input_boolean.secure_mode - - input_boolean.vacation_mode - - input_boolean.guest_mode - -Automation: - - input_boolean.automations - -Zones: - - binary_sensor.zone_3 - -Garage: - - cover.garage_door - - binary_sensor.garage_dome_sensor - - sensor.accurite_garage_temperature - - sensor.accurite_garage_humidity - -Fire: - - sensor.smoke_kitchen - -HA System Monitor: - - sensor.cpu - - sensor.disk_use_percent_ - - sensor.memory_use_percent - - sensor.network_in_eth0 - - sensor.network_out_eth0 - - sensor.last_boot - - sensor.ha_uptime - - sensor.lets_encrypt_expiration - -HA Version Info: - - sensor.installed_version - - sensor.current_ha_version - -File Size: - control: hidden - entities: - - sensor.ha_v2db - - sensor.ha_log - -#Zwave: -# - zwave.aeotec_zw090_zstick_gen5_us - -Weather Alerts: - control: hidden - entities: - - sensor.pws_alerts - - sensor.storm_statement - - sensor.tstorm_warning - - sensor.tornado_watch - - sensor.tornado_warning - -Pollen Alerts: - control: hidden - entities: - - sensor.allergy_index_average_forecasted - - sensor.allergy_index_average_historical - - sensor.allergy_index_today - - sensor.allergy_index_tomorrow - - sensor.cold__flu_forecasted_average - -Trash Schedule: - - input_select.trash_pickup - - input_select.recycle_pickup - - input_boolean.trash_notification - -House Notifications: - - input_boolean.audible_notifications - - input_boolean.garage_notifications - -Skylar Alarms: - - input_boolean.skylar_dressed_alarm - -Presence Notifications: - - input_boolean.text_notify_jeff - - input_boolean.text_notify_kat - -Event Notifications: - - input_boolean.trash_notification - - input_boolean.washer_notification - -Weather Notifications: - - input_boolean.tornado_watch \ No newline at end of file diff --git a/input_boolean.yaml b/input_boolean.yaml deleted file mode 100644 index 6ec1717..0000000 --- a/input_boolean.yaml +++ /dev/null @@ -1,86 +0,0 @@ -secure_mode: - name: Secure Mode - icon: mdi:security -vacation_mode: - name: Vacation Mode - icon: mdi:airplane-takeoff -guest_mode: - name: Guest Mode - icon: mdi:account-multiple -automations: - name: Automations - icon: mdi:home-automation -trash_notification: - name: Trash Notification - icon: mdi:telegram -notifications_kat: - name: Notifications to Kat - icon: mdi:telegram -notifications_jeff: - name: Notifications to Jeff - icon: mdi:telegram -welcome_greeting: - name: Welcome Greeting - icon: mdi:speaker-wireless -lockdown_notification: - name: Lockdown Notifications - icon: mdi:speaker-wireless -garage_notifications: - name: Garage Notifications - icon: mdi:speaker-wireless -tornado_alarm: - name: Tornado Alarm - icon: mdi:speaker-wireless -tstorm_alarm: - name: T-Storm Alarm - icon: mdi:speaker-wireless -security_alarm: - name: Security Alarm - icon: mdi:speaker-wireless -fire_alarm: - name: Fire Alarm - icon: mdi:speaker-wireless -text_notify_jeff: - name: Send Jeff Texts - icon: mdi:telegram -text_notify_kat: - name: Send Kat Texts - icon: mdi:telegram -audible_notifications: - name: Audible Notifications - icon: mdi:speaker-wireless -presence_notifications_jeff: - name: Send Jeff Presence Texts - icon: mdi:telegram -presence_notifications_kat: - name: Send Kat Presence Texts - icon: mdi:telegram -garage_issue: - name: Garage Issue - icon: mdi:alert -security_issue: - name: Security Issue -kat_heading_home: - name: Kat Heading Home - icon: mdi:car -jeff_heading_home: - name: Jeff Heading Home - icon: mdi:car -washer_notification: - name: Washer Notification - icon: mdi:speaker-wireless -washer_running: - name: Washer Running - icon: mdi:speaker-wireless -skylar_dressed_alarm: - name: Skylar Dressed Alarm - icon: mdi:speaker-wireless -jeff_traffic_alerts: - name: Jeff Traffic Alerts - icon: mdi:bell-plus -jeff_traffic_alert_home: - name: Jeff Traffic Alert Home - icon: mdi:traffic-light -tornado_watch: - name: Tornado Watch - icon: mdi:message-alert \ No newline at end of file diff --git a/input_select.yaml b/input_select.yaml deleted file mode 100644 index f27f22d..0000000 --- a/input_select.yaml +++ /dev/null @@ -1,26 +0,0 @@ -alarm_mode: - name: alarm mode - options: - - home_armed - - away_armed - - disarmed -trash_pickup: - name: Trash Pickup - options: - - Monday - - Tuesday - - Wednesday - - Thursday - - Friday - initial: Tuesday - icon: mdi:delete-variant -recycle_pickup: - name: Recycle Pickup - options: - - Monday - - Tuesday - - Wednesday - - Thursday - - Friday - initial: Tuesday - icon: mdi:delete-variant \ No newline at end of file diff --git a/intents/alexa_confirm.yaml b/intents/alexa_confirm.yaml deleted file mode 100644 index 90e7325..0000000 --- a/intents/alexa_confirm.yaml +++ /dev/null @@ -1,17 +0,0 @@ -> - {% set responses = [ - "OK", - "Sure", - "If you insist", - "Done", - "I can do that", - "Leave it to me", - "Consider it done", - "As you wish", - "By your command", - "Affirmative", - "I will", - "No Problem" - ] %} - {% set rindex = (range(0, (responses | length - 1) )|random) -%} - {{responses[rindex]}} diff --git a/intents/intents.yaml b/intents/intents.yaml deleted file mode 100644 index a9ab6bb..0000000 --- a/intents/intents.yaml +++ /dev/null @@ -1,116 +0,0 @@ -#intents: - - -WhatIsTheCurrentStatus: - speech: - type: plain - text: > - Outside it's {{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. - {%- if is_state('sensor.pws_alerts', '0') -%} - There are no active weather alerts. - {%- else -%} - There are {{states.sensor.pws_alerts.state}} active weather alerts. - {% endif %} - {%- if is_state('sun.sun', 'above_horizon') -%} - The sun will set at {{ ((as_timestamp(states.sun.sun.attributes.next_setting)) | timestamp_local) [11:16] }} - {% else %} - The sun will rise at {{ ((as_timestamp(states.sun.sun.attributes.next_rising)) | timestamp_local) [11:16] }} - {% endif %} - -IsTheHouseSecure: - speech: - type: plain - text: > - {%- if is_state('binary_sensor.zone_3', 'on') -%} - Zone 3 is currently open. - {%- else -%} - Zone 3 is closed - {% endif %} - {%- if is_state('cover.garage_door', 'open') -%} - The Garage Door is currently open. - {%- else -%} - The Garage Door is closed - {% endif %} - {%- if is_state('input_boolean.house_secured', 'on') -%} - Anchorage House is actively monitoring. - {%- else -%} - Anchorage House is not being monitoring. - {% endif %} - -GarageStatus: - speech: - type: plain - text: > - {%- if is_state('sensor.garage_door_contact', 'open') -%} - The Garage is open - {%- else -%} - The Garage is closed - {% endif %} - -CloseTheGarage: - action: - service: script.turn_on - data_template: - entity_id: script.close_garage - speech: - type: plain - text: !include alexa_confirm.yaml - -OpenTheGarage: - action: - service: script.turn_on - data_template: - entity_id: script.open_garage - speech: - type: plain - text: !include alexa_confirm.yaml - -JeffETRHome: - speech: - type: plain - text: > - {%- if is_state('device_tracker.owntracks_jeffreystonesiphone', 'home') -%} - It appears Jeff is home - {%- else -%} - Jeff will be home in {{states.sensor.jeff_ett_home.attributes.duration_in_traffic}} - {% endif %} - -KatETRHome: - speech: - type: plain - text: > - {%- if is_state('device_tracker.katherinestonesiphone', 'home') -%} - It appears Katherine is home - {%- else -%} - Katherine will be home in {{states.sensor.kat_ett_home.attributes.duration_in_traffic}} - {% endif %} - -WhereIsJeff: - speech: - type: plain - text: > - {%- if is_state('device_tracker.owntracks_jeffreystonesiphone', 'home') -%} - Jeff is here somewhere. Where was the last place you saw him? - {%- else -%} - {%- if is_state('sensor.jeffrey_location', 'moving') -%} - Jeff is currently inbetween stops and could be home in {{states.sensor.jeff_ett_home.attributes.duration_in_traffic}} - {%- else -%} - Jeff is at {{ states("sensor.jeffrey_location") }} - {% endif %} - {% endif %} - -WhereIsKat: - speech: - type: plain - text: > - {%- if is_state('device_tracker.katherinestonesiphone', 'home') -%} - Katherine is here. - {%- else -%} - {%- if is_state('device_tracker.katherinestonesiphone', 'not_home') -%} - Katherine is currently inbetween stops and could be home in {{states.sensor.kat_ett_home.attributes.duration_in_traffic}} - {%- else -%} - Katherine is at {{ states.device_tracker.katherinestonesiphone.state }} - {% endif %} - {% endif %} \ No newline at end of file diff --git a/lights/kitchen.yaml b/lights/kitchen.yaml deleted file mode 100644 index 0198e30..0000000 --- a/lights/kitchen.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- platform: mqtt - name: "Kitchen Cabinets" - state_topic: "smartthings/Kitchen Cabinets/switch" - command_topic: "smartthings/Kitchen Cabinets/switch" - brightness_state_topic: "smartthings/Kitchen Cabinets/level" - brightness_command_topic: "smartthings/Kitchen Cabinets/level" - brightness_scale: 101 - payload_on: "on" - payload_off: "off" - retain: true -- platform: mqtt - name: "Kitchen Light Strip" - state_topic: "smartthings/Kitchen Light Strip/switch" - command_topic: "smartthings/Kitchen Light Strip/switch" - brightness_state_topic: "smartthings/Kitchen Light Strip/level" - brightness_command_topic: "smartthings/Kitchen Light Strip/level" - payload_on: "on" - payload_off: "off" - retain: true diff --git a/lights/living_room.yaml b/lights/living_room.yaml deleted file mode 100644 index 6f0dcd7..0000000 --- a/lights/living_room.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- platform: mqtt - name: "Tower Lamp" - state_topic: "smartthings/Tower Lamp/switch" - command_topic: "smartthings/Tower Lamp/switch" - brightness_state_topic: "smartthings/Tower Lamp/level" - brightness_command_topic: "smartthings/Tower Lamp/level" - brightness_scale: 101 - payload_on: "on" - payload_off: "off" - retain: true -- platform: mqtt - name: "Front Lamp" - state_topic: "smartthings/Front Lamp/switch" - command_topic: "smartthings/Front Lamp/switch" - brightness_state_topic: "smartthings/Front Lamp/level" - brightness_command_topic: "smartthings/Front Lamp/level" - brightness_scale: 101 - payload_on: "on" - payload_off: "off" - retain: true \ No newline at end of file diff --git a/lights/loft.yaml b/lights/loft.yaml deleted file mode 100644 index 68fdb28..0000000 --- a/lights/loft.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- platform: mqtt - name: "Loft Lamp" - state_topic: "smartthings/Loft Lamp/switch" - command_topic: "smartthings/Loft Lamp/switch" - brightness_state_topic: "smartthings/Loft Lamp/level" - brightness_command_topic: "smartthings/Loft Lamp/level" - brightness_scale: 101 - payload_on: "on" - payload_off: "off" - retain: true diff --git a/scenes.yaml b/scenes.yaml deleted file mode 100644 index bf655bd..0000000 --- a/scenes.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- name: livingroom normal - entities: - light.tower_lamp: - state: on - brightness: 100 - light.front_lamp: - state: on - brightness: 100 -- name: livingroom dim - entities: - light.tower_lamp: - state: on - brightness: 40 - light.front_lamp: - state: on - brightness: 40 -- name: livingroom night - entities: - light.tower_lamp: - state: on - brightness: 10 - light.front_lamp: - state: off -- name: movie time - entities: - light.tower_lamp: - state: off - light.front_lamp: - state: off -- name: dim kitchen - entities: - light.kitchen_cabinets: - state: on - brightness: 40 -- name: normal kitchen - entities: - light.kitchen_cabinets: - state: on - brightness: 100 \ No newline at end of file diff --git a/scripts/appliances_off.yaml b/scripts/appliances_off.yaml deleted file mode 100644 index 9793a3b..0000000 --- a/scripts/appliances_off.yaml +++ /dev/null @@ -1,5 +0,0 @@ -appliances_off: - sequence: - - service: switch.turn_off - data: - entity_id: switch.master_fan diff --git a/scripts/appliances_on.yaml b/scripts/appliances_on.yaml deleted file mode 100644 index 112e593..0000000 --- a/scripts/appliances_on.yaml +++ /dev/null @@ -1,5 +0,0 @@ -appliances_on: - sequence: - - service: switch.turn_on - data: - entity_id: switch.master_fan diff --git a/scripts/chromecast_media_stop.yaml b/scripts/chromecast_media_stop.yaml deleted file mode 100644 index 31209ca..0000000 --- a/scripts/chromecast_media_stop.yaml +++ /dev/null @@ -1,6 +0,0 @@ -chromecast_media_stop: - sequence: - - service: media_player.media_stop - data: - entity_id: media_player.living_room_tv - \ No newline at end of file diff --git a/scripts/driveway_off.yaml b/scripts/driveway_off.yaml deleted file mode 100644 index e970fa1..0000000 --- a/scripts/driveway_off.yaml +++ /dev/null @@ -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 - diff --git a/scripts/driveway_on.yaml b/scripts/driveway_on.yaml deleted file mode 100644 index 7ea7e71..0000000 --- a/scripts/driveway_on.yaml +++ /dev/null @@ -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 - diff --git a/scripts/family_is_away.yaml b/scripts/family_is_away.yaml deleted file mode 100644 index 3c51544..0000000 --- a/scripts/family_is_away.yaml +++ /dev/null @@ -1,6 +0,0 @@ -family_is_away: - sequence: - - service: mqtt.publish - data: - topic: "house/family/status" - payload_template: "away" diff --git a/scripts/family_is_home.yaml b/scripts/family_is_home.yaml deleted file mode 100644 index 0ae7fcb..0000000 --- a/scripts/family_is_home.yaml +++ /dev/null @@ -1,6 +0,0 @@ -family_is_home: - sequence: - - service: mqtt.publish - data: - topic: "house/family/status" - payload_template: "home" diff --git a/scripts/fire_alarm_kitchen.yaml b/scripts/fire_alarm_kitchen.yaml deleted file mode 100644 index 60d4229..0000000 --- a/scripts/fire_alarm_kitchen.yaml +++ /dev/null @@ -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. diff --git a/scripts/garage_abort_lockdown.yaml b/scripts/garage_abort_lockdown.yaml deleted file mode 100644 index 7693ffb..0000000 --- a/scripts/garage_abort_lockdown.yaml +++ /dev/null @@ -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 diff --git a/scripts/garage_close.yaml b/scripts/garage_close.yaml deleted file mode 100644 index b0acf61..0000000 --- a/scripts/garage_close.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/scripts/garage_closing.yaml b/scripts/garage_closing.yaml deleted file mode 100644 index 9d93b8b..0000000 --- a/scripts/garage_closing.yaml +++ /dev/null @@ -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 - diff --git a/scripts/garage_failed_to_close.yaml b/scripts/garage_failed_to_close.yaml deleted file mode 100644 index 397f896..0000000 --- a/scripts/garage_failed_to_close.yaml +++ /dev/null @@ -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. diff --git a/scripts/garage_now_closed.yaml b/scripts/garage_now_closed.yaml deleted file mode 100644 index 36fde3a..0000000 --- a/scripts/garage_now_closed.yaml +++ /dev/null @@ -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. diff --git a/scripts/garage_open.yaml b/scripts/garage_open.yaml deleted file mode 100644 index 294fe74..0000000 --- a/scripts/garage_open.yaml +++ /dev/null @@ -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 diff --git a/scripts/house_lights_up.yaml b/scripts/house_lights_up.yaml deleted file mode 100644 index 9b636e4..0000000 --- a/scripts/house_lights_up.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/scripts/inside_all_off.yaml b/scripts/inside_all_off.yaml deleted file mode 100644 index bed85e0..0000000 --- a/scripts/inside_all_off.yaml +++ /dev/null @@ -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 diff --git a/scripts/inside_all_on.yaml b/scripts/inside_all_on.yaml deleted file mode 100644 index 696a4b7..0000000 --- a/scripts/inside_all_on.yaml +++ /dev/null @@ -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 diff --git a/scripts/jeff_at_work_notification.yaml b/scripts/jeff_at_work_notification.yaml deleted file mode 100644 index 655a7f9..0000000 --- a/scripts/jeff_at_work_notification.yaml +++ /dev/null @@ -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 diff --git a/scripts/jeff_destination_harbins.yaml b/scripts/jeff_destination_harbins.yaml deleted file mode 100644 index c782c7b..0000000 --- a/scripts/jeff_destination_harbins.yaml +++ /dev/null @@ -1,7 +0,0 @@ -jeff_destination_harbins: - sequence: - - service: mqtt.publish - data: - topic: "jeff/driving/destination" - payload: "Harbins" - retain: true diff --git a/scripts/jeff_destination_home.yaml b/scripts/jeff_destination_home.yaml deleted file mode 100644 index 832bd27..0000000 --- a/scripts/jeff_destination_home.yaml +++ /dev/null @@ -1,7 +0,0 @@ -jeff_destination_home: - sequence: - - service: mqtt.publish - data: - topic: "jeff/driving/destination" - payload: "Home" - retain: true diff --git a/scripts/jeff_destination_na.yaml b/scripts/jeff_destination_na.yaml deleted file mode 100644 index a42ea1d..0000000 --- a/scripts/jeff_destination_na.yaml +++ /dev/null @@ -1,7 +0,0 @@ -jeff_destination_na: - sequence: - - service: mqtt.publish - data: - topic: "jeff/driving/destination" - payload: "na" - retain: true diff --git a/scripts/jeff_destination_none.yaml b/scripts/jeff_destination_none.yaml deleted file mode 100644 index 9788813..0000000 --- a/scripts/jeff_destination_none.yaml +++ /dev/null @@ -1,7 +0,0 @@ -jeff_destination_none: - sequence: - - service: mqtt.publish - data: - topic: "jeff/driving/destination" - payload: "none" - retain: true diff --git a/scripts/jeff_destination_summit.yaml b/scripts/jeff_destination_summit.yaml deleted file mode 100644 index 409b994..0000000 --- a/scripts/jeff_destination_summit.yaml +++ /dev/null @@ -1,7 +0,0 @@ -jeff_destination_summit: - sequence: - - service: mqtt.publish - data: - topic: "jeff/driving/destination" - payload: "Summit" - retain: true diff --git a/scripts/jeff_destination_zoo.yaml b/scripts/jeff_destination_zoo.yaml deleted file mode 100644 index 97c8b70..0000000 --- a/scripts/jeff_destination_zoo.yaml +++ /dev/null @@ -1,7 +0,0 @@ -jeff_destination_zoo: - sequence: - - service: mqtt.publish - data: - topic: "jeff/driving/destination" - payload: "Zoo" - retain: true diff --git a/scripts/jeff_is_home.yaml b/scripts/jeff_is_home.yaml deleted file mode 100644 index c2b0060..0000000 --- a/scripts/jeff_is_home.yaml +++ /dev/null @@ -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 diff --git a/scripts/jeff_is_home_audible.yaml b/scripts/jeff_is_home_audible.yaml deleted file mode 100644 index 95af1f8..0000000 --- a/scripts/jeff_is_home_audible.yaml +++ /dev/null @@ -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 diff --git a/scripts/kat_destination_na.yaml b/scripts/kat_destination_na.yaml deleted file mode 100644 index 905e4af..0000000 --- a/scripts/kat_destination_na.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kat_destination_na: - sequence: - - service: mqtt.publish - data: - topic: "kat/driving/destination" - payload: "na" - retain: true diff --git a/scripts/kat_is_home_audible.yaml b/scripts/kat_is_home_audible.yaml deleted file mode 100644 index 1aea79f..0000000 --- a/scripts/kat_is_home_audible.yaml +++ /dev/null @@ -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 diff --git a/scripts/kill_audible_alarm.yaml b/scripts/kill_audible_alarm.yaml deleted file mode 100644 index 873a37b..0000000 --- a/scripts/kill_audible_alarm.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kill_audible_alarm: - sequence: - - event: LOGBOOK_ENTRY - event_data: - name: EVENT - message: "Silence Alarm" - - service: shell_command.alarm_off \ No newline at end of file diff --git a/scripts/lockdown.yaml b/scripts/lockdown.yaml deleted file mode 100644 index db42fa9..0000000 --- a/scripts/lockdown.yaml +++ /dev/null @@ -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 diff --git a/scripts/lockdown_delay.yaml b/scripts/lockdown_delay.yaml deleted file mode 100644 index 79a5958..0000000 --- a/scripts/lockdown_delay.yaml +++ /dev/null @@ -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 diff --git a/scripts/outside_all_off.yaml b/scripts/outside_all_off.yaml deleted file mode 100644 index d55cdd9..0000000 --- a/scripts/outside_all_off.yaml +++ /dev/null @@ -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 diff --git a/scripts/outside_all_on.yaml b/scripts/outside_all_on.yaml deleted file mode 100644 index 067d0d8..0000000 --- a/scripts/outside_all_on.yaml +++ /dev/null @@ -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 - diff --git a/scripts/security_access_authorized.yaml b/scripts/security_access_authorized.yaml deleted file mode 100644 index b90e666..0000000 --- a/scripts/security_access_authorized.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_check_garage.yaml b/scripts/security_check_garage.yaml deleted file mode 100644 index cc1f4f5..0000000 --- a/scripts/security_check_garage.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_check_verified.yaml b/scripts/security_check_verified.yaml deleted file mode 100644 index 1840e51..0000000 --- a/scripts/security_check_verified.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_check_zones.yaml b/scripts/security_check_zones.yaml deleted file mode 100644 index 83631b1..0000000 --- a/scripts/security_check_zones.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_report.yaml b/scripts/security_report.yaml deleted file mode 100644 index f3ec4fc..0000000 --- a/scripts/security_report.yaml +++ /dev/null @@ -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 %} - \ No newline at end of file diff --git a/scripts/security_sound_alarm.yaml b/scripts/security_sound_alarm.yaml deleted file mode 100644 index 00bec31..0000000 --- a/scripts/security_sound_alarm.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_sound_alarm_intro.yaml b/scripts/security_sound_alarm_intro.yaml deleted file mode 100644 index d2bc2c9..0000000 --- a/scripts/security_sound_alarm_intro.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_warning_back_door.yaml b/scripts/security_warning_back_door.yaml deleted file mode 100644 index a8e397d..0000000 --- a/scripts/security_warning_back_door.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_warning_front_door.yaml b/scripts/security_warning_front_door.yaml deleted file mode 100644 index b4ee072..0000000 --- a/scripts/security_warning_front_door.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_warning_garage_door.yaml b/scripts/security_warning_garage_door.yaml deleted file mode 100644 index bc693f9..0000000 --- a/scripts/security_warning_garage_door.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_warning_garage_motion.yaml b/scripts/security_warning_garage_motion.yaml deleted file mode 100644 index 34091db..0000000 --- a/scripts/security_warning_garage_motion.yaml +++ /dev/null @@ -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 diff --git a/scripts/security_warning_laundry_door.yaml b/scripts/security_warning_laundry_door.yaml deleted file mode 100644 index 2661012..0000000 --- a/scripts/security_warning_laundry_door.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/scripts/skylar_dressed_notifications.yaml b/scripts/skylar_dressed_notifications.yaml deleted file mode 100644 index e98cfe8..0000000 --- a/scripts/skylar_dressed_notifications.yaml +++ /dev/null @@ -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 diff --git a/scripts/standby.yaml b/scripts/standby.yaml deleted file mode 100644 index ca27095..0000000 --- a/scripts/standby.yaml +++ /dev/null @@ -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 diff --git a/scripts/status_report.yaml b/scripts/status_report.yaml deleted file mode 100644 index 20b2b7f..0000000 --- a/scripts/status_report.yaml +++ /dev/null @@ -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. diff --git a/scripts/test_tts.yaml b/scripts/test_tts.yaml deleted file mode 100644 index b2ad174..0000000 --- a/scripts/test_tts.yaml +++ /dev/null @@ -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 diff --git a/scripts/vacation_canceled.yaml b/scripts/vacation_canceled.yaml deleted file mode 100644 index 8e7488d..0000000 --- a/scripts/vacation_canceled.yaml +++ /dev/null @@ -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 diff --git a/scripts/washer_finished_notification.yaml b/scripts/washer_finished_notification.yaml deleted file mode 100644 index c1b8c8f..0000000 --- a/scripts/washer_finished_notification.yaml +++ /dev/null @@ -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 diff --git a/scripts/washer_notification_audible.yaml b/scripts/washer_notification_audible.yaml deleted file mode 100644 index 80ab5c7..0000000 --- a/scripts/washer_notification_audible.yaml +++ /dev/null @@ -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 - diff --git a/scripts/wxalert_tile.yaml b/scripts/wxalert_tile.yaml deleted file mode 100644 index fb4c440..0000000 --- a/scripts/wxalert_tile.yaml +++ /dev/null @@ -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 }}' \ No newline at end of file diff --git a/sensors/batteries.yaml b/sensors/batteries.yaml deleted file mode 100644 index 4f4b144..0000000 --- a/sensors/batteries.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- platform: mqtt - name: "Front Door Battery" - state_topic: "smartthings/Front Door/battery" -- platform: mqtt - name: "Laundry Door Battery" - state_topic: "smartthings/Laundry Room Door/battery" -- platform: mqtt - name: "Kitchen Smoke Battery" - state_topic: "smartthings/Kitchen Smoke/battery" -- platform: mqtt - name: "Attic Door Battery" - state_topic: "smartthings/Attic Door/battery" -- platform: mqtt - name: "Washer Door Battery" - state_topic: "smartthings/Washer Door/battery" -- platform: mqtt - name: "Back Door Battery" - state_topic: "smartthings/Back Door/battery" -- platform: template - sensors: - jeff_iphone_batt: - unit_of_measurement: '%' - value_template: >- - {%- if states.device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00.attributes.battery %} - {{ states.device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00.attributes.battery | round(1) }} - {% else %} - {{ states.sensor.jeff_iphone_batt.state }} - {%- endif %} - icon_template: '{%- if is_state("sensor.jeff_iphone_batt", "unknown") %}mdi:battery-unknown{%- elif is_state_attr("device_tracker.jeffreystonesiphone", "battery_status", "Charging") %}mdi:battery-charging{%- elif states.device_tracker.jeffreystonesiphone.attributes.battery <= 5 %}mdi:battery-outline{%- elif states.device_tracker.jeffreystonesiphone.attributes.battery >= 95 %}mdi:battery{% else %}mdi:battery-{{(states.device_tracker.jeffreystonesiphone.attributes.battery|float / 10)|round*10}}{%- endif %}' - kat_iphone_batt: - unit_of_measurement: '%' - value_template: >- - {%- if states.device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5.attributes.battery %} - {{ states.device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5.attributes.battery | round(1) }} - {% else %} - {{ states.sensor.kat_iphone_batt.state }} - {%- endif %} - icon_template: '{%- if is_state("sensor.kat_iphone_batt", "unknown") %}mdi:battery-unknown{%- elif is_state_attr("device_tracker.katherinestonesiphone", "battery_status", "Charging") %}mdi:battery-charging{%- elif states.device_tracker.katherinestonesiphone.attributes.battery <= 5 %}mdi:battery-outline{%- elif states.device_tracker.katherinestonesiphone.attributes.battery >= 95 %}mdi:battery{% else %}mdi:battery-{{(states.device_tracker.katherinestonesiphone.attributes.battery|float / 10)|round*10}}{%- endif %}' diff --git a/sensors/devices.yaml b/sensors/devices.yaml deleted file mode 100644 index 79036d9..0000000 --- a/sensors/devices.yaml +++ /dev/null @@ -1,95 +0,0 @@ -- platform: template - sensors: - amazon_dot_lr: - friendly_name: 'Amazon Dot LR' - value_template: "{{ 'Online' if is_state('device_tracker.dot_livingroom', 'home') else 'Offline' }}" - - amazon_dot_kn: - friendly_name: 'Amazon Dot KN' - value_template: "{{ 'Online' if is_state('device_tracker.dot_kitchen', 'home') else 'Offline' }}" - - tycho: - friendly_name: 'tycho' - value_template: "{{ 'Online' if is_state('device_tracker.jarvis', 'home') else 'Offline' }}" - - tightbeam: - friendly_name: 'tightbeam' - value_template: "{{ 'Online' if is_state('device_tracker.tightbeam', 'home') else 'Offline' }}" - - appletv: - friendly_name: 'Apple Tv' - value_template: "{{ 'On' if is_state('media_player.apple_tv', 'on') else 'Off' }}" - - xboxone: - friendly_name: 'xboxone' - value_template: "{{ 'Online' if is_state('device_tracker.xboxone', 'home') else 'Offline' }}" - - chromecast_livingroom: - friendly_name: 'Chromecast - Living Room' - value_template: "{{ 'On' if is_state('media_player.chromecast_livingroom', 'on') else 'Off' }}" - - smartthings: - friendly_name: 'SmartThings' - value_template: "{{ 'Online' if is_state('device_tracker.d052a8170fef', 'home') else 'Offline' }}" - - samsungtv: - friendly_name: 'Samsung Tv' - value_template: "{{ 'On' if is_state('media_player.pn60e550_pn60e550', 'on') else 'Off' }}" - - honeywell: - friendly_name: 'Honeywell' - value_template: "{{ 'Online' if is_state('device_tracker.gateway2f3bca', 'home') else 'Offline' }}" - - kat_mini: - friendly_name: "Kat's Mini" - value_template: "{{ 'Online' if is_state('device_tracker.katherinesmini', 'home') else 'Offline' }}" - - jeff_mbp: - friendly_name: "Jeff's MBP" - value_template: "{{ 'Online' if is_state('device_tracker.jeffreysmbp', 'home') else 'Offline' }}" - - jeff_work_mbp: - friendly_name: "Jeff's Work MBP" - value_template: "{{ 'Online' if is_state('device_tracker.jstonemac', 'home') else 'Offline' }}" - - jeff_ipad: - friendly_name: "Jeff's iPad" - value_template: "{{ 'Online' if is_state('device_tracker.jeffreystonesipad', 'home') else 'Offline' }}" - - kat_ipad: - friendly_name: "Kat's iPad" - value_template: "{{ 'Online' if is_state('device_tracker.katherinesipad', 'home') else 'Offline' }}" - - eero_livingroom: - friendly_name: "Eero Living Room" - value_template: "{{ 'Online' if is_state('device_tracker.eero_livingroom', 'home') else 'Offline' }}" - - eero_loft: - friendly_name: "Eero Loft" - value_template: "{{ 'Online' if is_state('device_tracker.eero_loft', 'home') else 'Offline' }}" - - smoke_kitchen: - friendly_name: "Kitchen Smoke" - value_template: "{{ 'Smoke Detected!' if is_state('device_tracker.eero_loft', 'smoke') else 'All Clear' }}" - - security_status: - friendly_name: 'Security System' - value_template: '{{ "Armed" if is_state("input_boolean.secure_mode", "on") else "Disarmed" }}' - icon_template: '{%- if is_state("input_boolean.secure_mode", "on") %}mdi:lock{% else %}mdi:lock-open{%- endif %}' - - garage_motion: - friendly_name: "Garage Motion" - value_template: "{{ 'open' if is_state('sensor.garage_dome_sensor', 'motion') else 'clear' }}" - - washer_status: - friendly_name: "Washer Status" - value_template: >- - {% if states('sensor.washer_power') | float > 2 %} - running - {% else %} - idle - {%endif %} - icon_template: mdi:washing-machine - - - diff --git a/sensors/google_travel_time.yaml b/sensors/google_travel_time.yaml deleted file mode 100644 index 15493f4..0000000 --- a/sensors/google_travel_time.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- platform: google_travel_time - name: "Jeff ETT Home" - api_key: !secret google_api - origin: device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00 - destination: zone.home -- platform: google_travel_time - name: "Kat ETT Home" - api_key: !secret google_api - origin: device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5 - destination: zone.home -- platform: google_travel_time - name: "Home To Summit" - api_key: !secret google_api - origin: zone.home - destination: zone.summit -- platform: google_travel_time - name: "Home To Zoo" - api_key: !secret google_api - origin: zone.home - destination: zone.zoo_atlanta diff --git a/sensors/house.yaml b/sensors/house.yaml deleted file mode 100644 index e9292de..0000000 --- a/sensors/house.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- platform: mqtt - name: "Family Status" - state_topic: "house/family/status" - payload_on: "home" - payload_off: "away" - retain: true -- platform: template - sensors: - house_status: - friendly_name: Status - unit_of_measurement: '' - value_template: >- - {%- if is_state("sensor.family_status", "home") %} - Home ({{ states.sensor.security_status.state }}) - {% else %} - Away ({{ states.sensor.security_status.state }}) - {%- endif %} - icon_template: >- - {%- if is_state("sensor.family_status", "home") %} - mdi:home - {%- elif is_state("sensor.family_status", "away") %} - mdi:home-outline - {% else %} - mdi:home-outline - {%- endif %} \ No newline at end of file diff --git a/sensors/owntracks.yaml b/sensors/owntracks.yaml deleted file mode 100644 index bb20fd0..0000000 --- a/sensors/owntracks.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- platform: mqtt - name: "Jeff Phone Battery" - state_topic: "owntracks/owntracks/jeffreystonesiphone" - qos: 0 - unit_of_measurement: "%" - value_template: '{{ value_json.batt }}' -- platform: mqtt - name: "Jeff Velocity" - state_topic: "owntracks/owntracks/jeffreystonesiphone" - qos: 0 - unit_of_measurement: "kmh" - value_template: '{{ value_json.vel }} ' -#### Life 360: -- platform: mqtt - name: "Jeff iPhone Battery" - state_topic: "owntracks/jeffrey/377fadfe-9d7e-410f-b71b-d84c06547c00" - qos: 0 - unit_of_measurement: "%" - value_template: '{{ value_json.batt }}' -- platform: mqtt - name: "Kat iPhone Battery" - state_topic: "owntracks/kat/2f1c6721-10dd-491e-a7dc-a9833d1c6cf5" - qos: 0 - unit_of_measurement: "%" - value_template: '{{ value_json.batt }}' -- platform: mqtt - state_topic: "owntracks/jeffrey/377fadfe-9d7e-410f-b71b-d84c06547c00" - name: "Jeff iPhone Charging" - value_template: '{{ value_json.charge}}' -- platform: mqtt - state_topic: "owntracks/kat/2f1c6721-10dd-491e-a7dc-a9833d1c6cf5" - name: "Kat iPhone Charging" - value_template: '{{ value_json.charge}}' diff --git a/sensors/power.yaml b/sensors/power.yaml deleted file mode 100644 index 5c6c937..0000000 --- a/sensors/power.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- platform: mqtt - name: "Washer Power" - state_topic: "smartthings/Washer/power" - retain: true diff --git a/sensors/presence.yaml b/sensors/presence.yaml deleted file mode 100644 index eb6b536..0000000 --- a/sensors/presence.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- platform: mqtt - name: "Kat Presence" - state_topic: "smartthings/Kat/presence" - payload_on: "present" - payload_off: "not present" - retain: true -- platform: mqtt - name: "Jeff Presence" - state_topic: "smartthings/Jeffrey/presence" - payload_on: "present" - payload_off: "not present" - retain: true \ No newline at end of file diff --git a/sensors/security.yaml b/sensors/security.yaml deleted file mode 100644 index 3ed2c39..0000000 --- a/sensors/security.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- platform: mqtt - name: "Lockdown Status" - state_topic: "house/lockdown/status" -- platform: mqtt - name: "Kitchen Smoke" - state_topic: "smartthings/Kitchen Smoke/smoke" - payload_on: "smoke" - payload_off: "clear" - retain: true \ No newline at end of file diff --git a/sensors/speedtest.yaml b/sensors/speedtest.yaml deleted file mode 100644 index 4276249..0000000 --- a/sensors/speedtest.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- platform: speedtest - minute: 30 - hour: - - 0 - - 6 - - 12 - - 18 - monitored_conditions: - - ping - - download - - upload diff --git a/sensors/system.yaml b/sensors/system.yaml deleted file mode 100644 index 607fcc0..0000000 --- a/sensors/system.yaml +++ /dev/null @@ -1,57 +0,0 @@ -- platform: systemmonitor - resources: - - type: disk_use_percent - arg: / - - type: memory_use_percent - - type: network_in - arg: eth0 - - type: network_out - arg: eth0 - - type: last_boot - - type: load_15m - - type: processor_use - - type: since_last_boot -- platform: cpuspeed - name: CPU -- platform: time_date - display_options: - - 'time' - - 'date' - - 'date_time' - - 'time_date' - - 'time_utc' - - 'beat' -- platform: cert_expiry - host: !secret BASEURL - name: Lets Encrypt Expiration -- platform: command_line - name: "HA Uptime" - command: echo "$(($(date +%s) - $(date -d "$(head -n1 /home/homeassistant/.homeassistant/home-assistant.log | cut -d' ' -f-2)" +%s)))" - scan_interval: 720 - value_template: >- - {% set uptime = value | int %} - {% set seconds = uptime % 60 %} - {% set minutes = ((uptime % 3600) / 60) | int %} - {% set hours = ((uptime % 86400) / 3600) | int %} - {% set days = (uptime / 86400) | int %} - {%- if days > 0 -%} - {%- if days == 1 -%} - 1 day - {%- else -%} - {{ days }} days - {%- endif -%} - {{ ', ' }} - {%- endif -%} - {{ '%02d' % hours }}:{{ '%02d' % minutes }} -- platform: command_line - command: python3 -c "import requests; print(requests.get('https://pypi.python.org/pypi/homeassistant/json').json()['info']['version'])" - name: Current HA Version -- platform: command_line - name: Installed version - command: "head -5 /home/homeassistant/.homeassistant/.HA_VERSION" -- platform: command_line - name: ha_v2db - command: "ls -sh /home/homeassistant/.homeassistant/home-assistant_v2.db | cut -f1 -d ' '" -- platform: command_line - name: ha_log - command: "ls -sh /home/homeassistant/.homeassistant/home-assistant.log | cut -f1 -d ' '" diff --git a/sensors/users.yaml b/sensors/users.yaml deleted file mode 100644 index c89424d..0000000 --- a/sensors/users.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- platform: mqtt - name: "Jeff Destination" - state_topic: "jeff/driving/destination" -- platform: mqtt - name: "Kat Destination" - state_topic: "kat/driving/destination" -- platform: template - sensors: - family_presence: - friendly_name: Family Presence - unit_of_measurement: '' - value_template: >- - {%- if is_state("sensor.jeff_presence", "present") %} - Home - {% elif is_state("sensor.kat_presence", "present") %} - Home - {% else %} - Away - {%- endif %} - icon_template: >- - {%- if is_state("sensor.family_presence", "Home") %} - mdi:home - {%- elif is_state("sensor.family_presence", "Away") %} - mdi:home-outline - {% else %} - mdi:sync-alert - {%- endif %} diff --git a/sensors/weather.yaml b/sensors/weather.yaml deleted file mode 100644 index 7bca295..0000000 --- a/sensors/weather.yaml +++ /dev/null @@ -1,125 +0,0 @@ -- platform: darksky - api_key: !secret FORCAST_API_KEY - monitored_conditions: - - summary - - icon - - nearest_storm_distance - - nearest_storm_bearing - - precip_type - - precip_intensity - - precip_probability - - temperature - - apparent_temperature - - dew_point - - wind_speed - - wind_bearing - - cloud_cover - - humidity - - pressure - - visibility - - ozone - - minutely_summary - - hourly_summary - - daily_summary - - temperature_max - - temperature_min - - apparent_temperature_max - - apparent_temperature_min - - precip_intensity_max - update_interval: - # At least one of these must be specified: - days: 0 - hours: 0 - minutes: 5 - seconds: 0 - milliseconds: 0 -- platform: moon -- platform: pollen - zip_code: "30017" - monitored_conditions: - - allergy_average_forecasted - - allergy_average_historical - - allergy_index_today - - allergy_index_tomorrow - - allergy_index_yesterday - - disease_average_forecasted -## Accurite 158 - Back Porch -- platform: mqtt - name: "Accurite Back Porch Temperature" - state_topic: "house/accurite-158/temperature" -- platform: mqtt - name: "Accurite Back Porch Humidity" - state_topic: "house/accurite-158/humidity" -# - platform: mqtt -# name: "Accurite Back Porch Status" -# state_topic: "house/accurite-158/status" -# - platform: mqtt -# name: "Accurite Back Porch Battery" -# state_topic: "house/accurite-158/battery" -- platform: mqtt - name: "Accurite Back Porch Model" - state_topic: "house/accurite-158/model" -- platform: mqtt - name: "Accurite Back Porch lupdate" - state_topic: "house/accurite-158/lastupdate" -- platform: mqtt - name: "Accurite Garage Temperature" - state_topic: "house/accurite-10968/temperature" -- platform: mqtt - name: "Accurite Garage Humidity" - state_topic: "house/accurite-10968/humidity" -- platform: mqtt - name: "Accurite Garage Model" - state_topic: "house/accurite-10968/model" -- platform: mqtt - name: "Accurite Garage lupdate" - state_topic: "house/accurite-10968/lastupdate" -- platform: template - sensors: - tornado_warning: - friendly_name: 'Tornado Warning' - value_template: >- - {%- if states.sensor.pws_alerts.attributes.Description == "Tornado Warning" %} - active - {% elif states.sensor.pws_alerts.attributes.Description_TOR == "Tornado Warning" %} - active - {% else %} - inactive - {%- endif %} - icon_template: mdi:message-alert - - tornado_watch: - friendly_name: 'Tornado Watch' - value_template: >- - {%- if states.sensor.pws_alerts.attributes.Description == "Tornado Watch" %} - active - {% elif states.sensor.pws_alerts.attributes.Description_TOW == "Tornado Watch" %} - active - {% else %} - inactive - {%- endif %} - icon_template: mdi:message-alert - - tstorm_warning: - friendly_name: 'T-Storm Warning' - value_template: >- - {%- if states.sensor.pws_alerts.attributes.Description == "Severe Thunderstorm Warning" %} - active - {% elif states.sensor.pws_alerts.attributes.Description_WRN == "Severe Thunderstorm Warning" %} - active - {% else %} - inactive - {%- endif %} - icon_template: mdi:message-alert - - storm_statement: - friendly_name: 'Storm Statement' - value_template: >- - {%- if states.sensor.pws_alerts.attributes.Description == "Severe Weather Statement" %} - active - {% elif states.sensor.pws_alerts.attributes.Description_SVR == "Severe Weather Statement" %} - active - {% else %} - inactive - {%- endif %} - icon_template: mdi:message-alert \ No newline at end of file diff --git a/sensors/wunderground.yaml b/sensors/wunderground.yaml deleted file mode 100644 index 55d64eb..0000000 --- a/sensors/wunderground.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- platform: wunderground - api_key: !secret WUNDERGROUND_API_KEY - monitored_conditions: - - alerts - - dewpoint_c - - dewpoint_f - - dewpoint_string - - feelslike_c - - feelslike_f - - feelslike_string - - heat_index_c - - heat_index_f - - heat_index_string - - elevation - - location - - observation_time - - precip_1hr_in - - precip_1hr_metric - - precip_1hr_string - - precip_today_in - - precip_today_metric - - precip_today_string - - pressure_in - - pressure_mb - - pressure_trend - - relative_humidity - - station_id - - solarradiation - - temperature_string - - temp_c - - temp_f - - UV - - visibility_km - - visibility_mi - - weather - - wind_degrees - - wind_dir - - wind_gust_kph - - wind_gust_mph - - wind_kph - - wind_mph - - wind_string diff --git a/switches/laundry.yaml b/switches/laundry.yaml deleted file mode 100644 index 6458a0f..0000000 --- a/switches/laundry.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- platform: mqtt - name: "Washer" - state_topic: "smartthings/Washer/switch" - command_topic: "smartthings/Washer/switch" - payload_on: "on" - payload_off: "off" - retain: true diff --git a/switches/living_room.yaml b/switches/living_room.yaml deleted file mode 100644 index 898a0c5..0000000 --- a/switches/living_room.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- platform: mqtt - name: "Fireplace Lights" - state_topic: "smartthings/Fireplace Lights/switch" - command_topic: "smartthings/Fireplace Lights/switch" - payload_on: "on" - payload_off: "off" - retain: true diff --git a/switches/notifications.yaml b/switches/notifications.yaml deleted file mode 100644 index 9d09838..0000000 --- a/switches/notifications.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- platform: mqtt - name: "Text Notify Kat" - command_topic: "kat/notify/text" - state_topic: "kat/notify/text" - qos: 1 - payload_on: "on" - payload_off: "off" - retain: true - -- platform: mqtt - name: "Audibly Notify Kat" - command_topic: "kat/notify/audio" - state_topic: "kat/notify/audio" - qos: 1 - payload_on: "on" - payload_off: "off" - retain: true - -- platform: mqtt - name: "Text Notify Jeff" - command_topic: "jeff/notify/text" - state_topic: "jeff/notify/text" - qos: 1 - payload_on: "on" - payload_off: "off" - retain: true - -- platform: mqtt - name: "Audibly Notify Jeff" - command_topic: "jeff/notify/audio" - state_topic: "jeff/notify/audio" - qos: 1 - payload_on: "on" - payload_off: "off" - retain: true - -- platform: mqtt - name: "Text Notify House" - command_topic: "house/notify/text" - state_topic: "house/notify/text" - qos: 1 - payload_on: "on" - payload_off: "off" - retain: true - -- platform: mqtt - name: "Audibly Notify House" - command_topic: "house/notify/audio" - state_topic: "house/notify/audio" - qos: 1 - payload_on: "on" - payload_off: "off" - retain: true - diff --git a/switches/outside.yaml b/switches/outside.yaml deleted file mode 100644 index 82c5d2c..0000000 --- a/switches/outside.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- platform: mqtt - name: "Driveway Light" - state_topic: "smartthings/Driveway Light/switch" - command_topic: "smartthings/Driveway Light/switch" - payload_on: "on" - payload_off: "off" - retain: true -- platform: mqtt - name: "Side Door" - state_topic: "smartthings/Side Door/switch" - command_topic: "smartthings/Side Door/switch" - payload_on: "on" - payload_off: "off" - retain: true -- platform: mqtt - name: "Front Porch" - state_topic: "smartthings/Front Porch/switch" - command_topic: "smartthings/Front Porch/switch" - payload_on: "on" - payload_off: "off" - retain: true diff --git a/switches/sonoff.yaml b/switches/sonoff.yaml deleted file mode 100644 index e2fcf68..0000000 --- a/switches/sonoff.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- platform: mqtt - name: "Master Fan" - command_topic: "cmnd/sonoff/power" - state_topic: "stat/sonoff/POWER" - qos: 1 - payload_on: "ON" - payload_off: "OFF" - retain: true