mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-10 10:56:28 +00:00
Replace Hass.io (#596)
This commit is contained in:
parent
0f65f56f70
commit
4daee99271
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user