From 0b68b478d1a6bd2ec1aa2d2502c7fae96b9629ce Mon Sep 17 00:00:00 2001 From: Anders Melchiorsen Date: Sat, 10 Feb 2018 15:18:16 +0100 Subject: [PATCH] Allow zero purge_interval to disable recorder purge (#4591) * Allow zero purge_interval to disable recorder purge * Clarify that zero is a number --- source/_components/recorder.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/recorder.markdown b/source/_components/recorder.markdown index 38b9239ba59..78993f11132 100644 --- a/source/_components/recorder.markdown +++ b/source/_components/recorder.markdown @@ -40,7 +40,7 @@ recorder: required: false type: int purge_interval: - description: How often (in days) the purge task runs. If a scheduled purge is missed (e.g., if Home Assistant was not running), the schedule will resume soon after Home Assistant restarts. You can use the [service](#service-purge) call `purge` when required without impacting the purge schedule. + description: How often (in days) the purge task runs. If a scheduled purge is missed (e.g., if Home Assistant was not running), the schedule will resume soon after Home Assistant restarts. You can use the [service](#service-purge) call `purge` when required without impacting the purge schedule. If this is set to `0` (zero), purging is disabled. required: false default: 1 type: int