From f5bc6517a6e3539c3ce036b8fc2f1b9db680cb00 Mon Sep 17 00:00:00 2001 From: mjj4791 Date: Sun, 23 Jul 2017 19:05:43 +0200 Subject: [PATCH] More details on name-property (#3044) Added more details on the relation between the 'name', 'monitored_condition' and the resulting 'entity id' for the sensor See discussion here: https://community.home-assistant.io/t/dutch-precipitation-forecast-based-on-buienradar-nl/4697/89 --- source/_components/sensor.buienradar.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/_components/sensor.buienradar.markdown b/source/_components/sensor.buienradar.markdown index 2bba6a25e68..b7a4b8714a9 100644 --- a/source/_components/sensor.buienradar.markdown +++ b/source/_components/sensor.buienradar.markdown @@ -33,7 +33,13 @@ sensor: Configuration variables: -- **name** (*Optional*): You can specify a name of the component, but do not have to. If you specify a name, the sensors will get an entity name of 'sensor.[name]`[monitored_condition]`, for example: `sensor.lopik_temperature`; if no name is specified the sensors will be called `sensor.br_[monitored_condition]`, for example `sensor.br_temperature`. +- **name** (*Optional*): You can specify a name of the component, but do not have to. If you specify a name, the sensors will get an entity name of `sensor.[name]_[default sensor display name]`, for example: + - `sensor.lopik_temperature`, since the name of the sensor is set to `lopik` and the default display name for monitored condition `temperature` is `Temperature` + - `sensor.lopik_wind_force`, since the name of the sensor is set to `lopik` and the default display name for monitored condition `windforce` is `Wind force` + + If no name is specified the sensors will be called `sensor.br_[default sensor display name]`, for example: + - `sensor.br_wind_speed`, since no name has been set for the sensor and the default display name for monitored condition `windspeed` is `Wind speed` + - `sensor.br_ground_temperature`, since no name has been set for the sensor and the default display name for monitored condition `groundtemperature` is `Ground Temperature` - **latitude** (*Optional*): Latitude to use for selection of data source location. Longitude and latitude will be taken from Home Assistant configuration, but can be overridden/changed in this component to select a different location for buienradar.nl. - **longitude** (*Optional*): Longitude to use for selection of data source location. Longitude and latitude will be taken from Home Assistant configuration, but can be overridden/changed in this component to select a different location for buienradar.nl. - **timeframe** (*Optional*): Minutes to look ahead for precipitation (5..120) [default: 60].