This repository contains the Home Assistant custom integration for the Home Assistant Companion desktop app. It receives device registration through an authenticated API and sensor updates through per-device webhooks. The integration keeps registered entity identifiers across upgrades and marks missing live readings unavailable.
Version 1.0.12 is published for HACS. Its upgrade from HACS 1.0.11 was tested on Home Assistant 2026.9.3 with two connected Windows desktops and all 109 existing Desktop App entity identities preserved. Home Assistant 2026.9.0 remains the declared minimum; other versions have not yet been tested in a compatibility matrix.
Read the installation, upgrade, dashboard and rollback guide. In brief: add https://github.com/Fill84/ha-integration as a HACS custom Integration repository, install version 1.0.12, and fully restart Home Assistant. Each 1.0.6 desktop creates its own HA device entry with an administrator token; no empty hub or manual Add action is needed. Preserve existing device entries and entity IDs during upgrades.
The desktop app registers sensors before sending state batches. It sends wire protocol version 1; older desktop clients that omit the version remain supported. See the protocol reference for endpoints, payloads and error behavior. The numeric system_uptime state stays in seconds for automations and statistics. Its human_readable attribute can be shown in a dashboard Entities card without changing the entity ID.
GET /api/desktop_app/ping should return HTTP 200 after Home Assistant starts. A 200 response confirms that the integration API is loaded; it does not prove that a desktop has registered or sent readings. Check the device's Online entity and several measured entities for the end-to-end result.
For local contract tests, run python -m pytest -q from this repository. These tests use Home Assistant boundary stubs; installed Home Assistant and HACS upgrade tests remain release requirements.
See CHANGELOG.md for changes and the desktop verification status for remaining release checks.