MASSIVE re-org - Moving config to packages to better organize

This commit is contained in:
Jeffrey Stone
2020-06-12 16:02:42 -04:00
parent 7bfa8c169f
commit 3d4ff5ca61
19 changed files with 1903 additions and 802 deletions

View File

@@ -49,13 +49,14 @@ frontend:
# - platform: google_translate
cloud:
wemo:
discovery: true
static:
- 192.168.7.99
weather:
# moved to the integration package.
# wemo:
# discovery: true
# static:
# - 192.168.7.99
#weather:
# REMOVING darksky integration since API is EOL in 18 months. Migrated to NWS
# - platform: darksky
# api_key: !secret darksky_api
@@ -78,35 +79,38 @@ device_tracker:
# track_new_devices: yes
# only_macs: "d0:c5:f3:80:50:5e, f4:31:c3:84:1d:d1, 08:74:02:CC:C4:97, 5C:F5:DA:9B:5A:A2, 34:7C:25:CC:9D:0F, 64:52:99:93:F1:B3"
google:
client_id: !secret google_client_id
client_secret: !secret google_client_secret
# moved to integrations package
# google:
# client_id: !secret google_client_id
# client_secret: !secret google_client_secret
# arlo:
# username: !secret arlo_user
# password: !secret arlo_pass
alarm_control_panel:
# moved to security package
# alarm_control_panel:
# - platform: arlo
# home_mode_name: home
# away_mode_name: armed
- platform: aarlo
home_mode_name: home
away_mode_name: Armed
# - platform: aarlo
# home_mode_name: home
# away_mode_name: Armed
# Using the HACS Arlo Integration
aarlo:
host: https://my.arlo.com
username: !secret arlo_user
password: !secret arlo_pass
db_motion_time: 30
db_ding_time: 10
recent_time: 10
last_format: '%m-%d %H:%M'
refresh_devices_every: 2
verbose_debug: True
# moved to the integrations package
# # Using the HACS Arlo Integration
# aarlo:
# host: https://my.arlo.com
# username: !secret arlo_user
# password: !secret arlo_pass
# db_motion_time: 30
# db_ding_time: 10
# recent_time: 10
# last_format: '%m-%d %H:%M'
# refresh_devices_every: 2
# verbose_debug: True
speedtestdotnet:
# speedtestdotnet:
discovery:
@@ -117,64 +121,68 @@ updater:
sun:
recorder:
#db_url: sqlite:///data/home-assistant_v2.db
purge_keep_days: 2
exclude:
domains:
- automation
- weblink
- updater
entities:
- sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform
- sensor.date
# moved all the recorder, log, and history configs to the database package
# recorder:
# db_url: mysql://homeassistant:password@core-mariadb/homeassistant?charset=utf8
# purge_keep_days: 2
# exclude:
# domains:
# - automation
# - weblink
# - updater
# entities:
# - sun.sun # Don't record sun data
# - sensor.last_boot # Comes from 'systemmonitor' sensor platform
# - sensor.date
logbook:
include:
domains:
- media_player
- automation
- script
# logbook:
# include:
# domains:
# - media_player
# - automation
# - script
# Lets try to make the logs less chatty and more fine tuned.
logger:
default: critical
logs:
homeassistant.core: warning
homeassistant.components.recorder: error # to spot db issues
homeassistant.config_entries: error
homeassistant.setup: error
# # Lets try to make the logs less chatty and more fine tuned.
# logger:
# default: critical
# logs:
# homeassistant.core: warning
# homeassistant.components.recorder: error # to spot db issues
# homeassistant.config_entries: error
# homeassistant.setup: error
history:
include:
domains:
- sensor
- switch
- media_player
- light
# history:
# include:
# domains:
# - sensor
# - switch
# - media_player
# - light
############################################################################
camera:
- platform: mjpeg
name: Garage Door Cam
mjpeg_url: !secret garage_cam
- platform: aarlo
ffmpeg_arguments: '-pred 1 -q:v 2'
# moved to the camera package
# camera:
# - platform: mjpeg
# name: Garage Door Cam
# mjpeg_url: !secret garage_cam
# - platform: aarlo
# ffmpeg_arguments: '-pred 1 -q:v 2'
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
# ffmpeg:
# ffmpeg_bin: /usr/bin/ffmpeg
life360:
accounts:
- username: !secret life360_username
password: !secret life360_password
# moved to the integrations package
# life360:
# accounts:
# - username: !secret life360_username
# password: !secret life360_password
python_script:
ecobee:
api_key: !secret ecobee_api
# ecobee:
# api_key: !secret ecobee_api
map:
@@ -182,89 +190,89 @@ geo_location:
- platform: usgs_earthquakes_feed
feed_type: 'past_hour_all_earthquakes'
gdacs:
categories:
- Earthquake
- Tropical Cyclone
radius: 500
latitude: !secret MY_LATITUDE
longitude: !secret MY_LONGITUDE
# gdacs:
# categories:
# - Earthquake
# - Tropical Cyclone
# radius: 500
# latitude: !secret MY_LATITUDE
# longitude: !secret MY_LONGITUDE
tplink:
discovery: false
switch:
- host: 192.168.7.105
- host: 192.168.7.107
- host: 192.168.7.116
- host: 192.168.7.120
- host: 192.168.7.136
- host: 192.168.7.137
# tplink:
# discovery: false
# switch:
# - host: 192.168.7.105
# - host: 192.168.7.107
# - host: 192.168.7.116
# - host: 192.168.7.120
# - host: 192.168.7.136
# - host: 192.168.7.137
wyzeapi:
username: !secret wyze_user
password: !secret wyze_password
# wyzeapi:
# username: !secret wyze_user
# password: !secret wyze_password
ifttt:
key: !secret IFTTT_API_KEY
# ifttt:
# key: !secret IFTTT_API_KEY
# media_player:
# - platform: spotify
# client_id: !secret spotify_client
# client_secret: !secret spotify_secret
media_extractor:
group: !include groups.yaml
proximity:
home_jeff:
devices:
- device_tracker.life360_jeffrey_stone
zone: home
tolerance: 5
unit_of_measurement: mi
home_kat:
devices:
- device_tracker.life360_kat_stone
zone: home
tolerance: 5
unit_of_measurement: mi
home:
devices:
- device_tracker.life360_jeffrey_stone
- device_tracker.life360_kat_stone
zone: home
tolerance: 5
unit_of_measurement: mi
# moved to the presence package
# proximity:
# home_jeff:
# devices:
# - device_tracker.life360_jeffrey_stone
# zone: home
# tolerance: 5
# unit_of_measurement: mi
# home_kat:
# devices:
# - device_tracker.life360_kat_stone
# zone: home
# tolerance: 5
# unit_of_measurement: mi
# home:
# devices:
# - device_tracker.life360_jeffrey_stone
# - device_tracker.life360_kat_stone
# zone: home
# tolerance: 5
# unit_of_measurement: mi
# moved to the integrations
# Using the HACS Daily Snapshot Clean Up Plugin
clean_up_snapshots_service:
host: !secret snapshot_url
token: !secret snapshot_token
number_of_snapshots_to_keep: 3
# clean_up_snapshots_service:
# host: !secret snapshot_url
# token: !secret snapshot_token
# number_of_snapshots_to_keep: 3
homekit:
filter:
include_domains:
- light
include_entities:
- switch.croft_fan
- switch.driveway_light_2
- switch.incense
- switch.livingroom_fan
- switch.rail_lights
- switch.croft_light
- switch.ha_speaker
- switch.artemis
- switch.fireplace_lights_2
- switch.desk
- switch.forest
- switch.front_porch_light
- input_boolean.house_party_protocol
- switch.christmas_tree
- switch.rainbow_light
- switch.garage_fan
# homekit:
# filter:
# include_domains:
# - light
# include_entities:
# - switch.croft_fan
# - switch.driveway_light_2
# - switch.incense
# - switch.livingroom_fan
# - switch.rail_lights
# - switch.croft_light
# - switch.ha_speaker
# - switch.artemis
# - switch.fireplace_lights_2
# - switch.desk
# - switch.forest
# - switch.front_porch_light
# - input_boolean.house_party_protocol
# - switch.christmas_tree
# - switch.rainbow_light
# - switch.garage_fan