CI / Check (gateway, backend, frontend) (push) Successful in 1m24s
GET /api/stats?range=7d|30d computes compressor, CWU, CO and heater hours, compressor starts and temperatures per Europe/Warsaw day from the raw heat_pump polls. Hours hold each poll for at most 600 s so gaps add nothing; starts are 0 -> >0 transitions and are a lower bound at 300 s polling. Historia gets a Wykresy | Statystyki switch (shared SubView helper, also used by Energia) with totals tiles, a daily chart and a cycling hint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>