First version of the driver for Home Assistant OS and Supervised installs (NetOrk/netork#3068).
How it connects: Home Assistant's WebSocket API (/api/websocket) with an administrator's long-lived access token. An administrator's supervisor/api messages reach the Supervisor, which carries every getter and action. No add-on, no SSH. Over TLS, the certificate is checked against tls_fingerprints (device-types CertificateCheck) before the token is sent.
Getters: facts, interfaces/IPs, host status (pending reboot, data disk), pending updates (Core, OS, Supervisor, add-ons), add-ons as services, running backups. Actions: apply updates (add-ons → Supervisor → Core → OS; after Core it waits for Home Assistant to come back), add-on start/stop/restart and start at boot, refresh updates, reboot and shutdown.
Deviation from STANDARDS §4, decided 2026-12-03: the fixtures are not recordings. They are built from the answer shapes in the Supervisor 2026.11.0 source (supervisor/api/*.py), with anonymised values of a HAOS 18.4 VM. They will be replaced by recordings once the first Home Assistant is onboarded. tests/fixtures/README.md says so.
First version of the driver for Home Assistant OS and Supervised installs (NetOrk/netork#3068).
**How it connects:** Home Assistant's WebSocket API (`/api/websocket`) with an administrator's long-lived access token. An administrator's `supervisor/api` messages reach the Supervisor, which carries every getter and action. No add-on, no SSH. Over TLS, the certificate is checked against `tls_fingerprints` (device-types `CertificateCheck`) before the token is sent.
**Getters:** facts, interfaces/IPs, host status (pending reboot, data disk), pending updates (Core, OS, Supervisor, add-ons), add-ons as services, running backups.
**Actions:** apply updates (add-ons → Supervisor → Core → OS; after Core it waits for Home Assistant to come back), add-on start/stop/restart and start at boot, refresh updates, reboot and shutdown.
**Deviation from STANDARDS §4, decided 2026-12-03:** the fixtures are not recordings. They are built from the answer shapes in the Supervisor 2026.11.0 source (`supervisor/api/*.py`), with anonymised values of a HAOS 18.4 VM. They will be replaced by recordings once the first Home Assistant is onboarded. `tests/fixtures/README.md` says so.
**Tested:**
- Fixtures only: 90 tests, coverage 100 %, `mypy --strict`, ruff, bandit and `napalm-standard check`/`ratchet` clean.
- The live WebSocket/TLS path (excluded from coverage) was driven against a local stand-in server that speaks HA's auth and result protocol:
- login and refused token
- getters, with events in between
- reboot with the connection dropping
- TLS with a pinned fingerprint, plus a refused fingerprint (the token is never sent), a CA failure and connection refused
- Not yet run against a real device.
**Floors:** napalm-device-types ≥ 4.56 (`ServiceDict.result`, `SERVICE_RESULT_*`), websockets ≥ 13.
A driver for Home Assistant OS and Supervised installs. It reaches the
Supervisor through Home Assistant's WebSocket (supervisor/api) with an
administrator's long-lived access token: no add-on, no SSH.
Getters: facts, interfaces and addresses, host status (pending reboot,
data disk), pending updates of Core, OS, Supervisor and add-ons, add-ons
as services, running backups. Actions: apply updates, add-on start/stop/
restart and start at boot, refresh updates, reboot and shutdown.
The fixtures are built from the Supervisor 2026.11.0 API source, not
recorded; they are replaced once the first device is onboarded.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
First version of the driver for Home Assistant OS and Supervised installs (NetOrk/netork#3068).
How it connects: Home Assistant's WebSocket API (
/api/websocket) with an administrator's long-lived access token. An administrator'ssupervisor/apimessages reach the Supervisor, which carries every getter and action. No add-on, no SSH. Over TLS, the certificate is checked againsttls_fingerprints(device-typesCertificateCheck) before the token is sent.Getters: facts, interfaces/IPs, host status (pending reboot, data disk), pending updates (Core, OS, Supervisor, add-ons), add-ons as services, running backups.
Actions: apply updates (add-ons → Supervisor → Core → OS; after Core it waits for Home Assistant to come back), add-on start/stop/restart and start at boot, refresh updates, reboot and shutdown.
Deviation from STANDARDS §4, decided 2026-12-03: the fixtures are not recordings. They are built from the answer shapes in the Supervisor 2026.11.0 source (
supervisor/api/*.py), with anonymised values of a HAOS 18.4 VM. They will be replaced by recordings once the first Home Assistant is onboarded.tests/fixtures/README.mdsays so.Tested:
mypy --strict, ruff, bandit andnapalm-standard check/ratchetclean.Floors: napalm-device-types ≥ 4.56 (
ServiceDict.result,SERVICE_RESULT_*), websockets ≥ 13.