Home Assistant: reads checked against a live instance

Inspect on a real Home Assistant showed /api/states answers as the reader expects (1,392 entities, every field it reads present). Docs and the adapter's header say so; no code change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-11-17 19:51:05 +01:00
1 parent d58fe2027b
commit 3fc2a71812
2 files changed
+2 -2

No files matched your search

@@ -6,7 +6,7 @@
* is running, `GET /api/states` lists every entity with its state and attributes. Which of them are worth watching is chosen in this app (services/homeAssistantSync.ts);
* the token can belong to a user with no more rights than a viewer's.
*
* Endpoints and field names are from Home Assistant's published REST API, and have not been checked against a live instance here; every field is read defensively.
* Endpoints and field names are from Home Assistant's published REST API, and were checked against a live instance (`/api/states`, 1,392 entities); every field is read defensively.
*/
import { requestJson } from "../httpJson.js";
import { withDiagLogging } from "../../services/diagLog.js";