From 7509aaff11ce7e819c4e1ed490fbe39fe93eb181 Mon Sep 17 00:00:00 2001 From: bouni Date: Tue, 14 May 2019 09:49:12 +0200 Subject: [PATCH 1/3] extended spaceapi component documentation --- source/_components/spaceapi.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/spaceapi.markdown b/source/_components/spaceapi.markdown index 8f83f10ab3c..29de8f0f27c 100644 --- a/source/_components/spaceapi.markdown +++ b/source/_components/spaceapi.markdown @@ -114,6 +114,8 @@ sensors: type: entity_id {% endconfiguration %} +The list of sensors can be any sensor, not just temperature or humidity. + ## {% linkable_title Examples %} In this section you find some real-life examples of how to use this component. From 2de75f5f7994382ead7f39fb4aaac9778f82b2c6 Mon Sep 17 00:00:00 2001 From: bouni Date: Mon, 20 May 2019 12:09:11 +0200 Subject: [PATCH 2/3] added description how to set the location attribute of a sensor --- source/_components/spaceapi.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/_components/spaceapi.markdown b/source/_components/spaceapi.markdown index 29de8f0f27c..beb7cd8d5e1 100644 --- a/source/_components/spaceapi.markdown +++ b/source/_components/spaceapi.markdown @@ -116,6 +116,18 @@ sensors: The list of sensors can be any sensor, not just temperature or humidity. +## Sensor specific location + +The [SpaceAPI specification](https://spaceapi.io/pages/docs.html) requires every sensor to provide a location. +In order to set a sensor specific location do the following steps: + +1. Go to Configuration -> Customization +2. Select the sensor entity +3. Pick "Other" from the attribute override pulldown +4. Set the attribute name to location and the attribute value to your desired location + +If no location is set, the location defined in the HA config is used. + ## {% linkable_title Examples %} In this section you find some real-life examples of how to use this component. From 11e131ccfb83c9675041dfe701ecf4ab2b480ebf Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Wed, 29 May 2019 23:45:19 +0200 Subject: [PATCH 3/3] :pencil2: Tweak After this we will merge it --- source/_components/spaceapi.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/spaceapi.markdown b/source/_components/spaceapi.markdown index beb7cd8d5e1..34d9add3420 100644 --- a/source/_components/spaceapi.markdown +++ b/source/_components/spaceapi.markdown @@ -116,7 +116,7 @@ sensors: The list of sensors can be any sensor, not just temperature or humidity. -## Sensor specific location +## {% linkable_title Sensor specific location %} The [SpaceAPI specification](https://spaceapi.io/pages/docs.html) requires every sensor to provide a location. In order to set a sensor specific location do the following steps: