From 1e74efa74713ce3fb6ac276de5de4e09941573c6 Mon Sep 17 00:00:00 2001 From: michaeldavie Date: Fri, 26 Jul 2019 08:12:33 -0400 Subject: [PATCH] Add scan interval config item to Environment Canada sensor (#9950) * Move sensor scan interval to configuration * Fix build error, change to seconds --- source/_components/environment_canada.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_components/environment_canada.markdown b/source/_components/environment_canada.markdown index 50bda08f215..ba4435afe33 100644 --- a/source/_components/environment_canada.markdown +++ b/source/_components/environment_canada.markdown @@ -105,7 +105,6 @@ sensor: - `advisories` - Current advisory alerts. - `statements` - Current special weather statements. - `endings` - Alerts that have recently ended. -- The platform refreshes the data every minute (primarily to update alerts), and the source data is typically updated hourly within 10 minutes after the hour. - The platform automatically determines which weather station to use based on the system's latitude/longitude settings. For greater precision, it is also possible to specify either: - A specific station code of the form `AB/s0000123` based on those listed in [this CSV file](http://dd.weatheroffice.ec.gc.ca/citypage_weather/docs/site_list_towns_en.csv), or - A specific latitude/longitude @@ -129,6 +128,11 @@ language: required: false type: string default: english +scan_interval: + description: The time between updates in seconds. + required: false + type: integer + default: 600 {% endconfiguration %} ###Alert TTS Script