Allow zero purge_interval to disable recorder purge (#4591)

* Allow zero purge_interval to disable recorder purge

* Clarify that zero is a number
This commit is contained in:
Anders Melchiorsen 2018-02-10 15:18:16 +01:00 committed by Alok Saboo
parent fd6f73a713
commit 0b68b478d1

View File

@ -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