From cc99ce67f31502ac8750c74424a6839a94f5eab6 Mon Sep 17 00:00:00 2001 From: mastakebob <47671816+mastakebob@users.noreply.github.com> Date: Wed, 6 Mar 2019 16:17:22 -0500 Subject: [PATCH] Provide clearer explanation of the sensor.random (#8598) * Provide clearer explanation of the sensor.random These changes provide a clearer explanation of: - what sensor.random is, - why we're creating one, - what to edit to make it - how to know when it worked * :pencil2: Tweak --- source/getting-started/configuration.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/getting-started/configuration.markdown b/source/getting-started/configuration.markdown index cc34e312dbf..a82d827b11a 100644 --- a/source/getting-started/configuration.markdown +++ b/source/getting-started/configuration.markdown @@ -98,11 +98,15 @@ Now that you are able to edit the configuration, it's time to set up some of you

YAML can be a little daunting at first. A lot is possible! [Here is some more info.](/docs/configuration/devices/)

-For a sensor that is showing [random values](/components/sensor.random/), the entry would look like the sample below: +For your first integration, you'll create a virtual sensor that generates a random integer value between 0 and 20 every 30 seconds. + +To create this random value sensor [random values](/components/sensor.random/), enter the following to the bottom of your `configuration.yaml` file, and restart Home Assistant (remember it may take up to a minute for the service to restart): ```yaml sensor: - platform: random ``` +You'll know it worked when you see the new random sensor in your overview page. On the next page, we'll create an automation that uses this sensor to take an action. + ### [Next step: Automate Home Assistant »](/getting-started/automation/)