From 3456834edb0340ae991ad88a00ec826280602f14 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 9 Sep 2015 12:43:24 +0200 Subject: [PATCH] Update example --- source/components/device_tracker.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/components/device_tracker.markdown b/source/components/device_tracker.markdown index b72539a4a1a..1422ad4a107 100644 --- a/source/components/device_tracker.markdown +++ b/source/components/device_tracker.markdown @@ -25,12 +25,13 @@ You can also decide to directly scan the network for devices by using the [nmap To get started add the following lines to your `configuration.yaml` (example for Netgear): -``` +```yaml +# Example configuration.yaml entry for Netgear device device_tracker: platform: netgear host: 192.168.1.1 username: admin - password: MY_PASSWORD + password: YOUR_PASSWORD ``` Once tracking, the `device_tracker` component will maintain a file in your config dir called `known_devices.csv`. Edit this file to adjust which devices have to be tracked. Here you can also setup a url for each device to be used as the entity picture.