Home Assistant integration (Productivity). Imported from open-connector.
{base_url}/api/config
/api/states
/api/states/{entityId}
| Param | Type | Required | Description |
|---|---|---|---|
| entityId | string | required | The Home Assistant entity identifier, for example light.living_room. |
/api/services
/api/services/{domain}/{service}
| Param | Type | Required | Description |
|---|---|---|---|
| domain | string | required | The Home Assistant service domain, for example light or switch. |
| service | string | required | The Home Assistant service name, for example turn_on or turn_off. |
| serviceData | object | optional | The JSON service data sent directly to Home Assistant, such as entity_id or bri… |
| returnResponse | boolean | optional | Whether to request service response data with the return_response query paramet… |
/api/events
/api/events/{eventType}
| Param | Type | Required | Description |
|---|---|---|---|
| eventType | string | required | The Home Assistant event type to fire. |
| eventData | object | optional | The optional JSON event data sent to Home Assistant. |
/api/template
| Param | Type | Required | Description |
|---|---|---|---|
| template | string | required | The Home Assistant template string to render. |
| variables | object | optional | Optional template variables passed to Home Assistant. |