PostgreSQL Purge with Hassio

Hi!

I have an issue with PostgreSQL - it’s not purging automatically. Same time it’s purging normally if started manually.

My setup

  1. host - x86 with Ubuntu Server 18.04
  2. Hass.io - 0.99.2 in Docker
  3. PostgreSQL installed on host (not in docker)

I’m purging with an automation.
Set purge_interval: 0 in the recorder config. (automatic purging is disabled)

  - alias: Purge Database
    trigger:
      platform: time_pattern
      hours: '/2'
      minutes: 22
      seconds: 22
    action:
      service: recorder.purge
      data:
        keep_days: 8

Yeah. Doing same at the moment. But there should be automatic way. I suppose…