Repository navigation
1.6.0 — config versioning + job history + in-app Settings
An in-app Settings drawer. Fleet now has a proper Settings surface — click the gear icon in the header. Every knob that used to live on the Supervisor Configuration tab (server token, timeouts, worker-offline threshold, require-HA-auth) has moved here, and several new fields sit alongside them (history retention, firmware cache size, job-log retention, time-of-day format, config-versioning toggle + author). Edits apply immediately without restarting the add-on. The drawer is split into Basic and Advanced tabs — Basic holds what you'll touch most (versioning, authentication, display), Advanced holds the plumbing knobs (retention, cache, timeouts, polling). Values from your previous Supervisor configuration are imported on first boot so nothing you set before is lost.
Per-file config history with diff + rollback. Every save to /config/esphome/ becomes a local git commit. Click Config history… in any device's hamburger menu to browse that file's full history — Monaco side-by-side diff viewer on the right, commit list on the left — and roll back to any earlier version in one click. The Queue tab grows a Diff since compile button that opens the history panel pre-set to "what's changed since this compile started." Works both for users without git experience (fresh installs get a Fleet-owned repo) and users who already run git in /config/esphome/ (your existing repo is left completely untouched — no .gitignore mutations, no identity override, no auto-commits unless you opt in). Commit messages are human-readable ("Automatically saved after editing in UI", "Pinned ESPHome version", etc.) so git log reads like an activity feed.
Archive is tracked in git. Deleted devices land in .archive/ as before, but the move now uses git mv so blame + log --follow thread cleanly through the delete → restore cycle. Permanent-delete runs through git rm + commit, so even that's recoverable by a git operator.
Compile history that sticks around. The Queue tab only ever shows the latest compile per device (by design — one row per device, not an ever-growing list). 1.6 adds a persistent history that survives queue coalescing and explicit Clear, reachable three ways:
- History button on the Queue toolbar — fleet-wide modal with filters for device, state, and time window, plus a universal search.
- Compile history… in each Device row's hamburger — scoped to that one device, with a stats strip (total / ok / failed / avg) at the top.
- An optional Last compiled column on the Devices tab (off by default, enable via the column picker).
Every row expands to show the last bit of the build log inline.
Local worker starts active. Fresh installs boot the built-in local-worker with 1 slot instead of 0 (paused). The first compile just works; raise the slot count in Workers if you want parallelism, set to 0 to pause.
Smaller fleet-management wins.
- Devices tab: + New Device and Archive… buttons collapsed into one Add device ▾ dropdown — New device, Duplicate existing (clone any target), or Restore from archive.
- Devices tab: hamburger items that would no-op on a given device (Restart with no
restart_buttonin YAML, Copy API Key with no encryption) are disabled with a tooltip explaining what YAML to add to enable them. - Queue + History "Triggered" column is now consistent — same icons, same labels across both surfaces, with compiles initiated via the direct API rendering distinctly from HA-action triggers.
- Queue History is sortable on every column (Device, State, ESPHome, Duration, Started, Finished, Trigger, Worker) with infinite-scroll pagination.
secrets.yamlno longer trips the Validate button — theesphome configschema doesn't apply to a!secretdictionary, so Fleet now mirrors the ESPHome Dashboard and skips validation on that file.
UX polish pass.
- The History drawer's Monaco diff editor follows the app's light/dark theme.
- Drawers (History, Compile history) darken the underlying tab so still-updating rows don't distract.
- Restore button on the HEAD row is disabled with "Already at this version" when the working tree is clean.
- Every greyed-out dropdown item (
Retry All Failed,Clear Succeeded, bulk actions, etc.) explains why it's disabled in a hover tooltip. - Every numeric Settings field shows its
(default N, min M, max K)bounds inline. - Authentication field's Show / Copy icon buttons are properly labeled for screen readers.
Bug fixes users will notice.
- Scheduled compiles cancelled before a worker picks them up now render
Scheduled (once) — cancelled before startin history instead of a row full of—dashes. - Restore-confirmation dialog no longer hard-codes "No new commit will be created" — it now reads the live auto-commit setting and tells the truth.
- Manual-commit message field's placeholder is the curated default (
"Manually committed from UI") instead of the old rawsave: foo.yaml (manual)form. - Queue tab's Commit column is a clickable short-hash button that opens the History panel preset to "what's changed since this compile."
- Queue / History / Schedules tabs show absolute timestamps stacked below relative ones so you don't have to hover to see when something happened.
- Config-history diff editor is the full visible drawer height instead of a cramped 330 px panel.
- Toggling auto-commit on with uncommitted changes offers to commit them first instead of silently leaving them dirty.
Under the hood. Settings writes are atomic and validated per-field; downstream consumers re-read them on every tick so a drawer edit takes effect within one cycle with no restart. The auto-commit write path is debounced + async so the editor's Save never blocks on git. The job-history DAO uses SQLite WAL mode for read-while-write concurrency; writes are sub-millisecond.