Avatar for the esphome user
esphome
device-builder
BlogDocsChangelog

Performance History

Latest Results

Bump frontend to 0.1.347
auto-bump-frontend
39 minutes ago
Show how long a device has been offline Persist the moment a device stops being reachable and expose it as ``Device.runtime_state.offline_since``, an epoch second, on ``devices/list`` and on ``DEVICE_STATE_CHANGED``. The status pill says "Offline" whether that started thirty seconds ago or last week, and nothing else in the UI fills the gap: the drawer's Reachability rows are per-channel last-seen ages, which are absent exactly when the device has been unreachable since before the dashboard started. Absolute rather than an age, so a client ticks it forward without a per-response anchor and every surface showing it agrees by construction. It rides the state-change event too, or a client folding that narrow event would keep a previous outage's anchor and miss a fresh one. A device already unreachable when the dashboard starts has no transition to measure from, and anchoring on "now" there is wrong in a way that looks right -- it times the dashboard's own uptime, and every device offline at startup reports the same figure to the millisecond. So a coarse ``last_seen`` stamp is persisted while a device is reachable, the startup settle anchors on that real last contact, and with neither stamp the field stays null rather than inventing one. Both stamps are queued in RAM by the sync state callback -- it cannot schedule a store write, having no running loop -- and drained by ``devices/list`` and on shutdown. ``last_seen`` writes are rate-limited to a minute since observations arrive every sweep for every reachable device.
siegeld:feat/offline-duration
3 hours ago
Quote number-like device names in generated YAML
fix-numeric-device-name
9 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
Bump frontend to 0.1.347#2843
40 minutes ago
1d25b61
auto-bump-frontend
CodSpeed Performance Gauge
0%
7 hours ago
7d0812f
siegeld:feat/offline-duration
CodSpeed Performance Gauge
0%
Quote number-like device names in generated YAML#2841
9 hours ago
509e9ee
fix-numeric-device-name
© 2026 CodSpeed Technology
Home Terms Privacy Docs