diff --git a/DECISIONS.md b/DECISIONS.md index fa5f06c..133b2cd 100644 --- a/DECISIONS.md +++ b/DECISIONS.md @@ -27,6 +27,21 @@ Format: `YYYY-MM-DD: ` `button.pos_briefing_print_daily_briefing` (HA prefixes the device name). Access: `ssh seth@192.168.0.146` (key auth), `bash -lc "ha core check|restart"`, services via `$SUPERVISOR_TOKEN` → `http://supervisor/core/api/`. See `docs/ha-setup.md`. +- **2026-06-07: Exposed to Google as a SWITCH tile, not a Scene.** HA scripts/scenes + get Google's Scene trait, which Google Home does NOT render as a tappable tile + (voice/Routine only) — the button was invisible. A template switch + (`switch.print_daily_briefing`) tiles like the TV. **Confirmed working end-to-end + 2026-06-07: a Google Home tap printed a receipt.** State is forced off and both + on/off fire the print (debounce in bridge prevents double-print) because HomeGraph + state push is down — keep this until reportState works, then simplify to on-only. +- **2026-06-07: HomeGraph SA key regenerated.** The old `/config/SERVICE_ACCOUNT.json` + key was invalid (`invalid_grant` — rotated in the lgtv 06-06 cleanup, never refreshed), + breaking requestSync/reportState. Seth issued a new JSON key for `claude@seth-freiberg.iam` + (id `8e3e812b6913…`); deployed to HA (0600), restarted. Auth now succeeds + (400→404). **Residual:** requestSync/reportState still 404 ("agent not registered in + HomeGraph") even after a Google re-sync — control (EXECUTE) works, but live state + push to Google does not yet. Non-blocking for the print button (always-off by design). + Revisit if TV/projector live state matters (may need a full unlink+relink). - **2026-06-07: paho-mqtt v1 callbacks (`CallbackAPIVersion.VERSION1`).** paho 2.1.0 is installed for `claude`; matches the working lgtv bridge. One-time deprecation warning at startup is harmless.