Home Assistant REST API
ha_restExecute Home Assistant REST API calls to read states, invoke services, and manage configuration via HTTP requests.
Instructions
Call a supported method under /api/. Path is relative, for example states or services/light/turn_on. Never retries writes. Responses and duration are bounded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| query | No | ||
| method | Yes | ||
| allowBinary | No | Enable only when the user explicitly authorizes returning this binary content. Its contents cannot be reliably scrubbed for secrets. | |
| contentType | No |