From 85bc02c65c0063da08813d0e21b5861fe5772439 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Thu, 18 Oct 2018 21:35:27 +0200 Subject: [PATCH] Update Tapsaff binary sensor component configuration (#6932) * Update Tapsaff binary sensor component configuration * :pencil2: Tweak --- .../_components/binary_sensor.tapsaff.markdown | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/source/_components/binary_sensor.tapsaff.markdown b/source/_components/binary_sensor.tapsaff.markdown index 233596e6bd1..f5a49a352ac 100644 --- a/source/_components/binary_sensor.tapsaff.markdown +++ b/source/_components/binary_sensor.tapsaff.markdown @@ -14,7 +14,6 @@ ha_release: 0.47 ha_iot_class: "Local Polling" --- - The `tapsaff` binary sensor provides the 'Taps Aff' status for a given location within the UK using [Taps Aff](http://www.taps-aff.co.uk). To enable this sensor, add the following lines to your `configuration.yaml`: @@ -26,7 +25,14 @@ binary_sensor: location: glasgow ``` -Configuration variables: - -- **location** (*Required*): The location for the Taps Aff. It must be configured with a UK postcode or city to work. -- **name** (*Optional*): The name to use when displaying this sensor. +{% configuration %} +location: + description: The location for the Taps Aff. It must be configured with a UK postcode or city to work. + required: true + type: string +name: + description: The name to use when displaying this sensor. + required: false + default: Taps Aff + type: string +{% endconfiguration %}