From 87e0cb65233818f187f88da8820b1e5da6587380 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Mon, 8 Oct 2018 19:57:42 +0200 Subject: [PATCH] Update Aurora binary sensor component configuration variable (#6596) Update style of Aurora binary sensor component documentation to follow new configuration variables description. Related to #6385. --- source/_components/binary_sensor.aurora.markdown | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/source/_components/binary_sensor.aurora.markdown b/source/_components/binary_sensor.aurora.markdown index f1c165381ec..460500c24c3 100644 --- a/source/_components/binary_sensor.aurora.markdown +++ b/source/_components/binary_sensor.aurora.markdown @@ -28,10 +28,18 @@ binary_sensor: - platform: aurora ``` -Configuration variables: - -- **forecast_threshold** (*Optional*): Provide your own threshold number above which the sensor will trigger. Defaults to 75. -- **name** (*Optional*): The name of the sensor. Default is 'Aurora Visibility'. +{% configuration %} +forecast_threshold: + description: Provide your own threshold number above which the sensor will trigger. + required: false + default: 75 + type: integer +name: + description: The name of the sensor. + required: false + default: Aurora Visibility + type: string +{% endconfiguration %} ```yaml binary_sensor: