mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-29 12:17:01 +00:00
Update addon_communication.markdown
This commit is contained in:
parent
670ef12843
commit
2115f18683
@ -30,7 +30,7 @@ We have severals services for Hass.io inside Home Assistant to execute tasks. To
|
||||
|
||||
## {% linkable_title Hass.io API %}
|
||||
|
||||
To enables calls to the [Hass.io API][hassio-api], add `hassio_api: true` to `config.json` and read the environment variable `API_TOKEN`. Now you can use the API over the URL: `http://hassio/`. Use the `HASSIO_TOKEN` with header `X-HASSIO-KEY`.
|
||||
To enables calls to the [Hass.io API][hassio-api], add `hassio_api: true` to `config.json` and read the environment variable `HASSIO_TOKEN`. Now you can use the API over the URL: `http://hassio/`. Use the `HASSIO_TOKEN` with header `X-HASSIO-KEY`.
|
||||
|
||||
[hass-api]: https://home-assistant.io/developers/rest_api/
|
||||
[hass-websocket]: https://home-assistant.io/developers/websocket_api/
|
||||
|
Loading…
x
Reference in New Issue
Block a user