Replace Hass.io (#596)

This commit is contained in:
Fabian Affolter 2020-07-03 15:40:35 +02:00 committed by GitHub
parent 0f65f56f70
commit 4daee99271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ this.hass.callWS({
### `hass.callApi(method, path, data)`
Call an API on the Home Assistant server. For example, if you want to fetch all Hass.io snapshots by issuing a GET request to `/api/hassio/snapshots`:
Call an API on the Home Assistant server. For example, if you want to fetch all Home Assistant snapshots by issuing a GET request to `/api/hassio/snapshots`:
```js
hass.callApi('get', 'hassio/snapshots')