From c1dae50088dc5396374be655f2a57ca3b2c31275 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 4 Apr 2022 23:45:35 -1000 Subject: [PATCH] Document `auto_repack` for the recorder (#22246) --- source/_integrations/recorder.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_integrations/recorder.markdown b/source/_integrations/recorder.markdown index 9b61f82533b..faaac9ecf3b 100644 --- a/source/_integrations/recorder.markdown +++ b/source/_integrations/recorder.markdown @@ -63,6 +63,11 @@ recorder: required: false default: true type: boolean + auto_repack: + description: Automatically repack the database every second sunday after the auto purge. Without a repack, the database may not decrease in size even after purging, which takes up disk space and can make Home Assistant slow. If you disable `auto_repack` it is recommended that you create an automation to call the [`recorder.purge`](#service-purge) periodically. This flag has no effect if `auto_purge` is disabled. + required: false + default: true + type: boolean purge_keep_days: description: Specify the number of history days to keep in recorder database after a purge. required: false