added description how to set the location attribute of a sensor

This commit is contained in:
bouni 2019-05-20 12:09:11 +02:00
parent 7509aaff11
commit 2de75f5f79

View File

@ -116,6 +116,18 @@ sensors:
The list of sensors can be any sensor, not just temperature or humidity. 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 %} ## {% linkable_title Examples %}
In this section you find some real-life examples of how to use this component. In this section you find some real-life examples of how to use this component.