From ce8c8b32e1b5771827fdcc8b25f398a87f438445 Mon Sep 17 00:00:00 2001 From: Yegor Vialov Date: Mon, 21 Oct 2019 18:46:48 +0300 Subject: [PATCH] Update docs.md --- docs.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs.md b/docs.md index 6c8ce0f..246b182 100644 --- a/docs.md +++ b/docs.md @@ -108,6 +108,12 @@ For now notificationas could only have title and text. No actions supported yet. {"title":"Oi!", "message":"Something is moving on your backyard!"} ``` The `title` is not mandatory, by defauld it will be "HA Client". +### Location tracking +**(HA Client >= 0.7.0)** +Starting from version 0.7.0 HA Client supports updating `device_tracker` entity with real device GPS location. The app [should be registered in your HA](#mobile-app-integration) and HA need to be restarted to make it work. + +After [mobile app will be registered](#mobile-app-integration) and your Home Assistant will be restarted you'll see a new `device_tracker` entity. For example: `device_tracker.mobile_app_egor_s_pixel_3_xl`. To start sending location to this entity you need to enable Location tracking in HA Client "Configuration". + #### Important! For now Home Assistant don't have a way to detect was current application on current device already registered or not. That is why if you will reinstall HA Client or clear all app data, the app will be registered once again and another Integration will be created on your Home Assistant: