homeassistant-config/recorder.yaml

36 lines
886 B
YAML
Raw Normal View History

db_url: !secret ha_recorder_dburl
# Commit to db only every X seconds
commit_interval: 10
# Delete events and states older than 2 weeks
auto_purge: true
2022-06-01 17:06:06 +02:00
purge_keep_days: 7
2021-09-02 22:03:53 +02:00
# include:
# domains:
# - sensor
# - switch
# - media_player
exclude:
# domains:
# - automation
# - updater
entity_globs:
- weather.zuhause_*
2021-09-02 22:03:53 +02:00
- sensor.*_power_factor
- sensor.*_current
- sensor.*_voltage
- sensor.dwd*
- binary_sensor.*firmware_update
- binary_sensor.*_overpowering
- binary_sensor.*_overheating
- sensor.*_wi_fi_signal
- sensor.*_energy_returned
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