From ea9803e7e4a6841d20465cae2ef0ce6d3042accc Mon Sep 17 00:00:00 2001 From: bigwoof Date: Fri, 24 Aug 2018 09:16:30 +1000 Subject: [PATCH] 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 --- source/_components/sensor.rflink.markdown | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/_components/sensor.rflink.markdown b/source/_components/sensor.rflink.markdown index 7efee12d68c..60306416cb4 100644 --- a/source/_components/sensor.rflink.markdown +++ b/source/_components/sensor.rflink.markdown @@ -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