Install an add-on
supervisor_install_addonInstall a Home Assistant add-on by slug through Supervisor, provided it already exists in a known repository. Use it to add new add-ons, not to start or stop installed ones.
Instructions
Install an add-on from its slug.
Calls POST /addons/<slug>/install. The add-on must already belong to a
repository Supervisor knows about; this does not add repositories.
Installing downloads the add-on's image, which reaches outside the HA
instance and its host.
Use when: adding a new add-on that is already visible in an installed
repository.
Not for: starting/stopping an already-installed add-on — use
supervisor_start_addon/supervisor_stop_addon.
Returns: Supervisor's install-job result.
Errors: {"error": "invalid_slug"} for a bad slug; {"error": "SUPERVISOR_TOKEN not set — Nexus must run as HA add-on for Supervisor API"} when the token env var is missing;
{"error": "HTTP <status>", "detail": ...} if the slug is unknown.
Limits: downloads the add-on image over the network; can take a while
on a slow connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of an add-on already visible in a registered repository (e.g. from `hacs_list_hacs_repositories`-style store listings or Supervisor's own add-on store). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||