From 2de75f5f7994382ead7f39fb4aaac9778f82b2c6 Mon Sep 17 00:00:00 2001 From: bouni Date: Mon, 20 May 2019 12:09:11 +0200 Subject: [PATCH] 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.