mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-05 13:41:36 +02:00
The periodic cleanup of old AMS sensor history entries (every ~24h) failed with "can't compare offset-naive and offset-aware datetimes". The cutoff used datetime.now(timezone.utc) but recorded_at stores naive datetimes via SQLite's func.now(). Use utcnow() instead.