home-assistant-configuration/config/packages/database.yaml

75 lines
1.9 KiB
YAML
Raw Permalink Normal View History

###############################################################################
# @author : Jeffrey Stone
# @date : 06/10/2020
# @package : Database
# @description : Recorder and Logger Configurations
###############################################################################
recorder:
db_url: !secret database
purge_keep_days: 30
exclude:
domains:
- automation
- weblink
- updater
- script
entities:
- sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform
- sensor.date
2021-05-24 15:58:12 +00:00
- sensor.icloud3_event_log
- sensor.time
- sensor.today_is
- sensor.time_utc
- sensor.time_date
- sensor.time_online
- sensor.moon
- sensor.month_is
- sensor.low_battery
logbook:
include:
domains:
- media_player
- automation
- script
2021-05-24 15:58:12 +00:00
- scene
- light
- switch
- device_tracker
- input_boolean
- person
# Lets try to make the logs less chatty and more fine tuned.
logger:
2021-05-24 15:58:12 +00:00
default: error
logs:
2021-05-24 15:58:12 +00:00
homeassistant.core: warning
2020-11-28 01:47:13 +00:00
homeassistant.loader: error
homeassistant.components.recorder: error # to spot db issues
homeassistant.config_entries: error
2020-11-28 01:47:13 +00:00
homeassistant.setup: error
homeassistant.components.roku: critical
homeassistant.helpers.entity: critical
homeassistant.components.automation: error
homeassistant.components.tplink: error
homeassistant.components.waze_travel_time: error
homeassistant.components.statistics.sensor: critical
homeassistant.components.nws: error
homeassistant.components.wemo: error
homeassistant.helpers.event: critical
2021-05-24 15:58:12 +00:00
bellows: error
zigpy: error
homeassistant.components.zha.core: error
history:
include:
domains:
- sensor
- switch
- media_player
- light
2021-05-24 15:58:12 +00:00
- scene
- automation