From 03e1f9dcc161eb8e915052d5790e25fb1b2a4fd2 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sat, 29 Oct 2022 14:35:47 -0400 Subject: [PATCH] Modified recorder settings to hopefully reduce database size --- configuration.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configuration.yaml b/configuration.yaml index fa9a248..ee79be5 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -67,9 +67,9 @@ climate: token: !secret master_bedroom_ac_token k1: !secret master_bedroom_ac_key -# recorder: -# db_url: !secret mariadb_url -# purge_keep_days: 30 +recorder: + purge_keep_days: 14 + commit_interval: 10 # influxdb: # host: 192.168.1.26 @@ -105,6 +105,9 @@ logbook: domains: - alarm_control_panel - light + - fan + - switch + - climate entity_globs: - binary_sensor.*_motion - binary_sensor.*_occupancy \ No newline at end of file