homeassistant-config/recorder.yaml

35 lines
852 B
YAML

db_url: !secret ha_recorder_dburl
# Commit to db only every X seconds
commit_interval: 60
# Delete events and states older than 1 week
auto_purge: true
purge_keep_days: 7
# include:
# domains:
# - sensor
# - switch
# - media_player
exclude:
# domains:
# - automation
# - updater
entity_globs:
- weather.zuhause_*
- sensor.*_power_factor
- sensor.*_current
- sensor.*_voltage
- sensor.dwd*
- binary_sensor.*firmware_update
- binary_sensor.*_overpowering
- binary_sensor.*_overheating
- sensor.*_wi_fi_signal
entities:
- sun.sun # Don't record sun data
- sensor.fritzbox_device_uptime
- sensor.snmp_wan_in
- sensor.snmp_wan_out
- sensor.time
# event_types:
# - call_service # Don't record service calls