core/homeassistant/components/recorder/services.yaml

9 lines
307 B
YAML

# Describes the format for available recorder services
purge:
description: Start purge task - delete events and states older than x days, according to keep_days service data.
fields:
keep_days:
description: Number of history days to keep in database after purge. Value >= 0.
example: 2