From a2fe91aeec1378167da970906dccba67c130e4f8 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Wed, 7 Nov 2018 08:40:59 +0100 Subject: [PATCH] Update Fastdotcom sensor component configuration (#7407) * Update Fastdotcom sensor component configuration * :shirt: Fix typo error --- source/_components/sensor.fastdotcom.markdown | 28 +++++++++++++++---- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/source/_components/sensor.fastdotcom.markdown b/source/_components/sensor.fastdotcom.markdown index 1f808674777..a5e972ff6a8 100644 --- a/source/_components/sensor.fastdotcom.markdown +++ b/source/_components/sensor.fastdotcom.markdown @@ -28,7 +28,7 @@ Once per hour, on the hour (default): ```yaml sensor: - - platform: fastdotcom + - platform: fastdotcom ``` More examples: @@ -42,12 +42,28 @@ sensor: - 0 - 30 ``` -Configuration variables: -- **minute** (*Optional*): Specify the minute(s) of the hour to schedule the speedtest. Use a list for multiple entries. Default is 0. -- **hour** (*Optional*): Specify the hour(s) of the day to schedule the speedtest. Use a list for multiple entries. Default is None. -- **day** (*Optional*): Specify the day(s) of the month to schedule the speedtest. Use a list for multiple entries. Default is None. -- **manual** (*Optional*): True or False to turn manual mode on or off. Manual mode will disable scheduled speedtests. +{% configuration %} +second: + description: Specify the second(s) of the hour to schedule the speedtest. Use a list for multiple entries. + required: false + default: 0 + type: list +minute: + description: Specify the minute(s) of the hour to schedule the speedtest. Use a list for multiple entries. + required: false + default: 0 + type: list +hour: + description: Specify the hour(s) of the day to schedule the speedtest. Use a list for multiple entries. + required: false + type: list +manual: + description: True or False to turn manual mode on or off. Manual mode will disable scheduled speedtests. + required: false + default: false + type: boolean +{% endconfiguration %} There is also a service named `sensor.update_fastdotcom` that you can use to run a fast.com speedtest on demand. You can turn on manual mode to disable the scheduled speedtests.