From bb38f511b57d22d779d9d667f3d062867ac6aab6 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Sat, 26 May 2018 09:38:48 +0200 Subject: [PATCH] Update device_tracker.fritz.markdown (#5431) * Update device_tracker.fritz.markdown Added zlib1g-dev, which is needed to link lxml. Rephrased to make clear that one either needs to install lxml from a repository or build it from sources. * Fix name --- source/_components/device_tracker.fritz.markdown | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/_components/device_tracker.fritz.markdown b/source/_components/device_tracker.fritz.markdown index 3e4a745d99e..ed813ae1c37 100644 --- a/source/_components/device_tracker.fritz.markdown +++ b/source/_components/device_tracker.fritz.markdown @@ -15,11 +15,13 @@ ha_release: "0.10" The `fritz` platform offers presence detection by looking at connected devices to a [AVM Fritz!Box](http://avm.de/produkte/fritzbox/) based router. -## {% linkable_title Configuration %} +## {% linkable_title Setup %}

-It might be necessary to install additional packages: $ sudo apt-get install libxslt-dev libxml2-dev python3-lxml -If you are working with the All-in-One installation, you may also need to execute also within your virtual environment the command pip install lxml; be patient this will take a while.

+It might be necessary to install additional packages: $ sudo apt-get install python3-lxml +If you installed Home Assistant in a virtualenv, run the following commands inside it: $ sudo apt-get install libxslt-dev libxml2-dev zlib1g-dev; pip install lxml; be patient this will take a while.

+ +## {% linkable_title Configuration %} To use an Fritz!Box router in your installation, add the following to your `configuration.yaml` file: