From 289caa944e74c47e284814b02682e59d5a8c698a Mon Sep 17 00:00:00 2001 From: Patrick Hobusch Date: Fri, 25 Nov 2016 18:07:18 +0100 Subject: [PATCH] Add missing 'update_interval' variable to darksky sensor documentation (#1497) --- source/_components/sensor.darksky.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/_components/sensor.darksky.markdown b/source/_components/sensor.darksky.markdown index dfefbd20770..b878a599d74 100644 --- a/source/_components/sensor.darksky.markdown +++ b/source/_components/sensor.darksky.markdown @@ -85,6 +85,18 @@ 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
+    

Note: While the platform is called "darksky" the sensors will show up in Home Assistant as "dark_sky" (eg: sensor.dark_sky_summary).