mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Support custom source type for MQTT device tracker (#10910)
* support custom source type for MQTT device tracker
* ✏️ Tweak
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
0f023e82b8
commit
28471e372c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user