PostgreSQL Purge with Hassio


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. - 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
      platform: time_pattern
      hours: '/2'
      minutes: 22
      seconds: 22
      service: recorder.purge
        keep_days: 8

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