mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 12:56:54 +00:00
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:
parent
cf573bb631
commit
476bb5eade
@ -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.
|
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
|
```yaml
|
||||||
sensor:
|
sensor:
|
||||||
- platform: rest
|
- platform: rest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user