From c83d11a0b486ed91dda40ec81c318c86c57c224b Mon Sep 17 00:00:00 2001 From: wildcomputations Date: Thu, 27 Jul 2017 05:39:02 -0400 Subject: [PATCH] Describe when the random sensor changes value (#3064) * Document update frequency Documented that the random number changes every 30 seconds according to http://fabian-affolter.ch/blog/random-sensor/ * Learned the source of the 30s polling frequency --- source/_components/sensor.random.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/_components/sensor.random.markdown b/source/_components/sensor.random.markdown index 44bdfad4fa8..ac61331913b 100644 --- a/source/_components/sensor.random.markdown +++ b/source/_components/sensor.random.markdown @@ -14,7 +14,7 @@ ha_release: 0.32 --- -The `random` sensor platform is creating random sensor values (integers) out of a given range. This can be useful if you want to test automation rules. +The `random` sensor platform is creating random sensor values (integers) out of a given range. This can be useful if you want to test automation rules. It generates a new value every time it is polled. To enable the random sensor, add the following lines to your `configuration.yaml`: @@ -31,3 +31,6 @@ Configuration variables: - **maximum** (*Optional*): Upper limit for the values. Defaults to `20`. - **unit_of_measurement** (*Optional*): Defines the units of measurement of the sensor, if any. +See the [entity component options][entity-docs] to control how often the main component polls the random sensor. The default is 30 seconds. + +[entity-docs]: https://home-assistant.io/docs/configuration/platform_options/