From 28471e372ced4e3a645e5e33886ef0927c104f33 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Wed, 23 Oct 2019 14:33:20 -0400 Subject: [PATCH] Support custom source type for MQTT device tracker (#10910) * support custom source type for MQTT device tracker * :pencil2: Tweak Co-authored-by: Franck Nijhof --- source/_integrations/device_tracker.mqtt.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_integrations/device_tracker.mqtt.markdown b/source/_integrations/device_tracker.mqtt.markdown index 6694029cf0f..bdde83a6e2e 100644 --- a/source/_integrations/device_tracker.mqtt.markdown +++ b/source/_integrations/device_tracker.mqtt.markdown @@ -43,6 +43,10 @@ payload_not_home: required: false type: string default: 'not_home' +source_type: + description: Attribute of a device tracker that affects state when being used to track a [person](/integrations/person/). Valid options are `gps`, `router`, `bluetooth`, or `bluetooth_le`. + required: false + type: string {% endconfiguration %} ## Complete example configuration @@ -56,6 +60,7 @@ device_tracker: qos: 1 payload_home: 'present' payload_not_home: 'not present' + source_type: bluetooth ``` ## Usage