add hint about API password in Home Assistant URL (#1352)

Adding hint to the REST sensor documentation that suggests appending the api password to the url of a Home Assistant instance.
This commit is contained in:
DrewSK 2016-10-29 03:13:21 -05:00 committed by Fabian Affolter
parent cf573bb631
commit 476bb5eade

View File

@ -97,6 +97,8 @@ sensor:
The Home Assistant [API](/developers/rest_api/) exposes the data from your attached sensors. If you are running multiple Home Assistant instances which are not [connected](/developers/architecture/#multiple-connected-instances) you can still get information from them.
If the Home Assistant instance in the resource variable is protected by an API password, you can append `?api_password=YOUR_PASSWORD` to the resource url to authenticate.
```yaml
sensor:
- platform: rest