117 Commits
Author SHA1 Message Date
rickandCursor 8e02215f01 openspec: add Purpose sections to all five main specs
OpenSpec 1.16 requires ## Purpose; the specs predate that. Purposes are reconstructed from the 2026-04-13 greenfield proposal and the current requirements. Plain validation now passes 5/5; strict still flags two over-long requirements, tracked in PROJECT_HYGIENE.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-08 12:11:15 +01:00
rickandCursor be00125465 openspec: archive add-french-translation, sync hacs-packaging spec
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 18:43:34 +01:00
rick d5f32d956e Merge agent/add-french-translation: French translation by aurel (PR #14), v0.4.6 v0.4.6 2026-11-07 18:42:52 +01:00
rickandCursor 529894688b openspec(add-french-translation): apply progress (PR #14 commit, 0.4.6)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 18:36:01 +01:00
rickandCursor c77029188f PROJECT_HYGIENE: UI strings need English and French
PR #14 adds fr.json and a key-parity test; record the rule so agents write the French string instead of relaxing the test.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 18:36:01 +01:00
rickandCursor 9a81654579 Version 0.4.6: French translation
Ships the French translation contributed by aurel in PR #14 (704f55e).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 18:35:46 +01:00
rickandCursor 2050051f66 openspec(add-french-translation): propose artifacts
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 18:35:09 +01:00
aurel 704f55e595 feat(i18n): add complete French translation (fr.json) 2026-11-07 13:23:59 +01:00
rickandCursor 851ec3a495 openspec: archive add-oktoberfest-keg-art
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:37:25 +01:00
rick 1309cff411 Merge agent/add-oktoberfest-keg-art: Löwenbräu Oktoberfestbier spelling, v0.4.5 v0.4.5 2026-11-07 12:37:15 +01:00
rickandCursor 5e1f790420 openspec(add-oktoberfest-keg-art): ship without on-device check 4.1 (maintainer decision)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:36:07 +01:00
rickandCursor 7f7ac13fda openspec(add-oktoberfest-keg-art): apply progress (rename, card artwork, 0.4.5)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:35:35 +01:00
rickandCursor 1598e7b031 Spell keg 29745 as Löwenbräu Oktoberfestbier; version 0.4.5
The catalog had the umlauts stripped, unlike its own 454 entry (Löwenbräu) and the companion card. Product ID and position are unchanged. Issue #8; ships with card 0.4.5, which adds keg artwork for both Oktoberfestbier kegs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:34:20 +01:00
rickandCursor 88dc717833 openspec(add-oktoberfest-keg-art): propose artifacts
Issue #8: keg artwork for Löwenbräu (29745) and Spaten (33918) Oktoberfestbier on the card, and the integration's 29745 name spelled with umlauts. Joint 0.4.5 release.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:32:48 +01:00
rickandCursor d0bbda6b51 PROJECT_HYGIENE: note pre-existing main-spec format failures
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:26:48 +01:00
rickandCursor 89783da7af openspec: archive add-keg-48180, sync specs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:26:10 +01:00
rickandCursor 8f2bced6ee openspec: archive fix-cognito-signin, sync specs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:26:10 +01:00
rickandCursor 82062da60c openspec: archive add-keg-47792, sync specs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:26:10 +01:00
rick 48434a7af3 Merge agent/add-keg-48180: Camden Stout (48180) in the keg catalog v0.4.4 2026-11-07 12:23:49 +01:00
rick 5a5be12e8a Merge agent/fix-cognito-signin: sign in via Cognito directly, readable auth errors 2026-11-07 12:23:49 +01:00
rickandCursor 43f9410a21 openspec: sync integration and card versions at 0.4.4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:13:06 +01:00
rickandCursor a21273c000 Version 0.4.4, in step with the companion card
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:12:41 +01:00
rickandCursor b2016ce914 openspec(add-keg-48180): ship without on-device check 4.1 (maintainer decision)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:10:29 +01:00
rickandCursor 3a94f6c1cc openspec(add-keg-48180): apply progress (catalog, card 0.4.3)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:09:01 +01:00
8b2c4418b3 Add keg 48180 (Camden Stout) to the catalog
Observed by MThomas564 on a machine with the keg fitted (#9, PR #10).
Appended after 48134 to keep numeric key order; catalog floor ratchets
to 117.

Co-authored-by: MThomas564 <mattraethomas97@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:07:47 +01:00
rickandCursor b209de0cf2 openspec(fix-cognito-signin): ship without on-device checks (maintainer decision)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:04:18 +01:00
rickandCursor 7387bafc0b openspec(fix-cognito-signin): defer on-device checks 5.2-5.4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:01:26 +01:00
rickandCursor f489b4e915 README: say 'Click THIS BLACK BOX' so users know where to click
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:59:09 +01:00
rickandCursor 064ee0992b openspec(fix-cognito-signin): 4.1 done, verified in Firefox and Chromium
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:59:09 +01:00
rickandCursor 6ca1f1ff4e README: copy the token with an on-page button
Chromium truncates prompt() default values at 2,000 characters, cutting off the ~2,500-character token. The command now adds a 'Click to copy' button whose handler calls navigator.clipboard.writeText; the click supplies the user activation the Clipboard API needs in every browser. The token is also logged as a fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:56:13 +01:00
rickandCursor b0024c1b74 openspec(fix-cognito-signin): button-based token copy after prompt() truncation
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:56:13 +01:00
rickandCursor 77967e5244 README: one token command, handed over in a pre-selected prompt
Console copy() cannot copy a value that arrives asynchronously in Firefox (it only sets a helper result read when the command returns) or Chromium (copy is gone by then). A second command would work but adds a step. Instead the single command opens prompt() with the token selected, so Ctrl+C/Cmd+C copies it, and also logs it as a fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:51:02 +01:00
rickandCursor 5ebdc2c3c1 openspec(fix-cognito-signin): single-command prompt() token handover
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:51:02 +01:00
rickandCursor 8b2f8ce1c3 README: two-step token copy that also works in Firefox
Firefox's console copy() only records a helper result that is read when the command returns, so calling it from the token promise copied nothing. Store the token in window.pdToken, then copy(pdToken) in a second command, which every browser supports.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:48:45 +01:00
rickandCursor 3fc7faac4e openspec(fix-cognito-signin): two-step README copy after Firefox test
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:48:45 +01:00
rickandCursor fbd299d7c9 PROJECT_HYGIENE: worktree pushes to origin fail until helper path is absolute
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:28:01 +01:00
rickandCursor 98c1bd0622 openspec(fix-cognito-signin): config-flow tasks verified; hygiene notes
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:27:38 +01:00
rickandCursor fe880f8f72 Config flow tests: assert only the reason placeholder
Reauth forms also carry Home Assistant's own name placeholder.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:27:25 +01:00
rickandCursor ec9347baac Test harness: pytest-homeassistant-custom-component 0.13.375 (core 2026.10.4)
The dev host has only Python 3.14; the 0.13.205 pin needs 3.12 (its numpy has no 3.14 wheel). The pycares 4.5.0 workaround is no longer needed: verify_cleanup passes with pycares 5.2.1.

Core 2026.x no longer treats a parked reauth flow as in progress for a new user flow with the same unique ID, so that path now aborts already_configured instead of already_in_progress. Both are translated; the test accepts either.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:27:25 +01:00
rickandCursor f8a9e069a2 openspec(fix-cognito-signin): 3.3 done
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:20:56 +01:00
rickandCursor 20ed62b963 Sign in via Cognito directly so PerfectDraft gets the domain
PerfectDraft's Cognito PreAuthentication Lambda now requires a "domain"
field in ClientMetadata. The api.perfectdraft.com /authentication/sign-in
gateway does not forward it, so every setup and reauth failed with
"PreAuthentication failed with error 'domain'" (#11, #12, #13).
authenticate() now calls Cognito InitiateAuth (USER_PASSWORD_AUTH)
itself, the endpoint token refresh already uses.

A failed sign-in now says what was rejected and why. A wrong email or
password returns to the credentials form; a rejected token stays on the
token step; both show Cognito's reason instead of the old blanket "token
may have expired", which hid this outage.

The README snippet copies the token to the clipboard. It captures copy()
up front because Chromium removes it once the console command returns.

Root cause and fix by @cesa030 in #11; confirmed in @brettjenkins' fork.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:20:47 +01:00
rickandCursor a526af0088 openspec(fix-cognito-signin): apply progress; capture copy() before the promise
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:20:41 +01:00
rickandCursor 06b625cd83 PROJECT_HYGIENE: token now has Issues/PR scope; document curl API route
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:15:04 +01:00
rickandCursor a547afdfde openspec(fix-cognito-signin): don't claim #12/#13 already closed
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:04:01 +01:00
rickandCursor 6e11d9b2c9 PROJECT_HYGIENE: defer remote-URL token cleanup, note token lacks Issues scope
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:03:49 +01:00
rickandCursor 7b4edbd390 openspec(add-keg-48180): propose artifacts
Catalog 48180 (Camden Stout, issue #9) in the integration and companion card, landing PR #10 and card PR #2 with the contributor credited; ships in the joint v0.3.5 / v0.4.3 release.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:03:38 +01:00
rickandCursor ab206e65a4 openspec(fix-cognito-signin): propose artifacts
Sign in via Cognito InitiateAuth with the domain ClientMetadata PerfectDraft's PreAuthentication Lambda now requires (#11), and surface the server's rejection reason in the config flow.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 11:01:37 +01:00
rickandCursor 73ee49ef1d openspec(add-keg-47792): apply artifacts
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-26 07:18:48 +02:00
rickandCursor 3b82df6e83 Add Camden Eazy (47792) to the keg name catalog.
The Keg sensor stayed blank for this product ID. 47629 remains Camden Eazy IPA.

Co-authored-by: Cursor <cursoragent@cursor.com>
v0.3.4
2026-09-26 07:14:57 +02:00
rickandCursor 2703328fb5 openspec(add-keg-47792): propose artifacts
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-26 07:08:17 +02:00