mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
added description how to set the location attribute of a sensor
This commit is contained in:
parent
7509aaff11
commit
2de75f5f79
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user