Call Home Assistant Supervisor API
ha_supervisor_apiCall Home Assistant Supervisor API endpoints via the supervisor/api WebSocket command to manage add-ons, repositories, and store operations.
Instructions
Call a Supervisor endpoint through Home Assistant's supervisor/api WebSocket command (e.g. /addons, /store/addons, /store/repositories). Requires a Supervised / HAOS install and ha:config for mutating methods. Use this for add-on store operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional JSON body for POST/PUT | |
| method | No | HTTP method | get |
| endpoint | Yes | Supervisor API path, e.g. /store/repositories or /addons/core_mosquitto/info | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |