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:
bigwoof 2018-08-24 09:16:30 +10:00 committed by Franck Nijhof
parent 56895804da
commit ea9803e7e4

View File

@ -31,18 +31,18 @@ sensor:
- platform: rflink
devices:
alectov1_0334_temp:
name: Temperature Outside
sensor_type: temperature
```
Configuration variables:
- **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:
- **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.
- **name** (*Optional*): Name for the device, defaults to RFLink ID.
- **unit_of_measurement** (*Optional*): Override automatically detected unit of sensor.
- **aliases** (*Optional*): Alternative RFLink ID's this device is known by.
@ -68,7 +68,6 @@ Sensor type values:
- meter_value
- total_rain
- rain_rate
- total_rain
- revision
- noise_level
- temperature