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

44
config/packages/database.yaml Executable file
View File

@@ -0,0 +1,44 @@
###############################################################################
# @author : Jeffrey Stone
# @date : 06/10/2020
# @package : Database
# @description : Recorder and Logger Configurations
###############################################################################
recorder:
db_url: !secret database
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
# 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