From 476bb5eade6511130bc9828b45cba1b40e907586 Mon Sep 17 00:00:00 2001 From: DrewSK Date: Sat, 29 Oct 2016 03:13:21 -0500 Subject: [PATCH] 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. --- source/_components/sensor.rest.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/sensor.rest.markdown b/source/_components/sensor.rest.markdown index 9893ba89461..5c62ffcca66 100644 --- a/source/_components/sensor.rest.markdown +++ b/source/_components/sensor.rest.markdown @@ -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