From d1e0563d034521b3b693449ed2578c774d12868d Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Wed, 22 Aug 2018 02:38:14 -0500 Subject: [PATCH] Fixed some small typos (#78) --- docs/frontend_data.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/frontend_data.md b/docs/frontend_data.md index 3b111877..a11b07a4 100644 --- a/docs/frontend_data.md +++ b/docs/frontend_data.md @@ -15,7 +15,7 @@ const changed = newVal !== oldVal; ### `hass.states` -An object containing the states of all entities in Home Assistant. The key is the entity_id, thte value is the state object. +An object containing the states of all entities in Home Assistant. The key is the entity_id, the value is the state object. ```json { @@ -95,7 +95,7 @@ The logged in user. ## Methods -All method starting with `call` are async methods. This means that they will return a `Promise` that will resolve with the result of the call. +All methods starting with `call` are async methods. This means that they will return a `Promise` that will resolve with the result of the call. ### `hass.callService(domain, service, data)` @@ -121,7 +121,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 issueing a GET request to `/api/hassio/snapshots`: +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`: ```js hass.callApi('get', 'hassio/snapshots')