From 3d3715e038282b36308abc80d93d79e19fa13a8b Mon Sep 17 00:00:00 2001 From: Klaas Hoekema Date: Sun, 25 Sep 2016 22:00:09 -0400 Subject: [PATCH] Document forecast sensor update_interval option --- source/_components/sensor.forecast.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/_components/sensor.forecast.markdown b/source/_components/sensor.forecast.markdown index 5f32c56d364a..41d051f0bb5f 100644 --- a/source/_components/sensor.forecast.markdown +++ b/source/_components/sensor.forecast.markdown @@ -84,5 +84,17 @@ Configuration variables: - **precip_intensity_max**: Today's expected maximum intensity of precipitation. - **units** (*Optional*): Specify the unit system. Default to `si` or `us` based on the temperature preference in Home Assistant. Other options are `auto`, `us`, `si`, `ca`, and `uk2`. `auto` will let forecast.io decide the unit system based on location. +- **update_inverval** (*Optional*): Minimum time interval between updates. Default is 2 minutes. Supported formats: + - `update_interval: 'HH:MM:SS'` + - `update_interval: 'HH:MM'` + - Time period dictionary, e.g.: +
update_interval:
+        # At least one of these must be specified:
+        days: 0
+        hours: 0
+        minutes: 3
+        seconds: 30
+        milliseconds: 0
+    
Details about the API are available in the [Forecast.io documentation](https://developer.forecast.io/docs/v2).