mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
include required "sensor_type:" in example - remove duplicate total_rain (#6064)
* include required "sensor_type:" in example - remove duplicate rain_total updated the example to include sensor type as this is a required part of the configuration and is needed to make it a valid example also removed duplicate sensor type for rain_total * Minor changes * Minor changes
This commit is contained in:
parent
56895804da
commit
ea9803e7e4
@ -31,18 +31,18 @@ sensor:
|
|||||||
- platform: rflink
|
- platform: rflink
|
||||||
devices:
|
devices:
|
||||||
alectov1_0334_temp:
|
alectov1_0334_temp:
|
||||||
name: Temperature Outside
|
sensor_type: temperature
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **automatic_add** (*Optional*): Automatically add new/unconfigured devices to HA if detected (default: True).
|
- **automatic_add** (*Optional*): Automatically add new/unconfigured devices to HA if detected (default: True).
|
||||||
- **devices** (*Optional*): A list of devices with their name to use in the frontend.
|
- **devices** (*Optional*): A list of devices with their name to use in the frontend.
|
||||||
|
|
||||||
Device configuration variables:
|
Device configuration variables:
|
||||||
|
|
||||||
- **name** (*Optional*): Name for the device, defaults to RFLink ID.
|
|
||||||
- **sensor_type** (*Required*): Override automatically detected type of sensor. For list of values see below.
|
- **sensor_type** (*Required*): Override automatically detected type of sensor. For list of values see below.
|
||||||
|
- **name** (*Optional*): Name for the device, defaults to RFLink ID.
|
||||||
- **unit_of_measurement** (*Optional*): Override automatically detected unit of sensor.
|
- **unit_of_measurement** (*Optional*): Override automatically detected unit of sensor.
|
||||||
- **aliases** (*Optional*): Alternative RFLink ID's this device is known by.
|
- **aliases** (*Optional*): Alternative RFLink ID's this device is known by.
|
||||||
|
|
||||||
@ -68,7 +68,6 @@ Sensor type values:
|
|||||||
- meter_value
|
- meter_value
|
||||||
- total_rain
|
- total_rain
|
||||||
- rain_rate
|
- rain_rate
|
||||||
- total_rain
|
|
||||||
- revision
|
- revision
|
||||||
- noise_level
|
- noise_level
|
||||||
- temperature
|
- temperature
|
||||||
|
Loading…
x
Reference in New Issue
Block a user