feat: show verified setpoint values and restore a pending change now #75

Open
mariusz.pacek wants to merge 0 commits from mariusz.pacek/feat/setpoint-restore-now AGit into master
pull from: mariusz.pacek/feat/setpoint-restore-now
Owner

Depends on PR #74 (feat/away-until-date): merge it first. Fixes the stale value shown for up to 5 minutes after a write (gateway shows the read-back value when newer than the poll) and adds restore now: gateway POST /commands/restore, backend POST /api/setpoints/{name}/restore, button Przywróć teraz in Ustawienia.

Depends on PR #74 (feat/away-until-date): merge it first. Fixes the stale value shown for up to 5 minutes after a write (gateway shows the read-back value when newer than the poll) and adds restore now: gateway POST /commands/restore, backend POST /api/setpoints/{name}/restore, button Przywróć teraz in Ustawienia.
mariusz.pacek added 3 commits 2026-10-24 11:35:42 +00:00
GET /commands showed the last poll for up to 5 minutes after a write.
It now shows the value read back after our own write or restore when
that is newer than the poll. POST /commands/restore runs a pending
restore at once through the normal path (conflict check, read-back,
audit with the requester, rate limit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Forwards to the gateway's restore now and passes its verdict on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(frontend): Przywróć teraz for pending changes in Ustawienia
CI / Check (gateway, backend, frontend) (push) Successful in 1m19s
09042c6338
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All checks were successful
CI / Check (gateway, backend, frontend) (push) Successful in 1m19s
This branch is already included in the target branch. There is nothing to merge.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin refs/pull/75/head:mariusz.pacek/feat/setpoint-restore-now
git checkout mariusz.pacek/feat/setpoint-restore-now
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mariusz.pacek/home-pump#75