Skip to content

Commit 0b68b47

Browse files
amelchioarsaboo
authored andcommitted
Allow zero purge_interval to disable recorder purge (home-assistant#4591)
* Allow zero purge_interval to disable recorder purge * Clarify that zero is a number
1 parent fd6f73a commit 0b68b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_components/recorder.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ recorder:
4040
required: false
4141
type: int
4242
purge_interval:
43-
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.
43+
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.
4444
required: false
4545
default: 1
4646
type: int

0 commit comments

Comments
 (0)