From 7efedf754929e4fddb520381a8eb0a2905d23ee7 Mon Sep 17 00:00:00 2001 From: Fredrik Lindqvist Date: Sun, 2 Oct 2016 17:13:31 +0200 Subject: [PATCH] Minimizing of the configuration sample (Health) (#1046) --- source/_components/sensor.fitbit.markdown | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/_components/sensor.fitbit.markdown b/source/_components/sensor.fitbit.markdown index 1a9369eee38..368101a5442 100644 --- a/source/_components/sensor.fitbit.markdown +++ b/source/_components/sensor.fitbit.markdown @@ -18,10 +18,11 @@ The Fitbit sensor allows you to expose data from [Fitbit](http://fitbit.com) to Enable the sensor by adding the following to your configuration: ```yaml +# Example configuration.yaml entry sensor: - platform: fitbit - monitored_resources: - - "body/weight" + - platform: fitbit + monitored_resources: + - "body/weight" ``` Restart Home Assistant once this is complete. Go to the frontend. You will see a new entry for configuring Fitbit. Follow the instructions there to complete the setup process. @@ -30,6 +31,10 @@ Please be aware that Fitbit has very low rate limits, 150 per user per hour. The The unit system that the sensor will use is based on the country you set in your Fitbit profile. +Configuration variables: + +- **monitored_resources** (*Required*): Resource to monitor. + Below is the list of resources that you can add to `monitored_resources`. One sensor is exposed for every resource. ```text