Add section

This commit is contained in:
Fabian Affolter 2018-12-30 22:19:31 +01:00
parent f092c14653
commit 5ecbe2e776
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F
2 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,8 @@ ha_iot_class: depends
The `mqtt` device tracker platform allows you to detect presence by monitoring an MQTT topic for new locations. To use this platform, you specify a unique topic for each device.
## {% linkable_title Configuration %}
To use this device tracker in your installation, add the following to your `configuration.yaml` file:
```yaml
@ -37,6 +39,8 @@ qos:
type: integer
{% endconfiguration %}
## {% linkable_title Usage %}
Example JSON you can publish to the topic (e.g., via mqtt.publish service):
```json

View File

@ -15,6 +15,8 @@ ha_release: 0.44
The `mqtt_json` device tracker platform allows you to detect presence by monitoring an MQTT topic for new locations. To use this platform, you specify a unique topic for each device.
## {% linkable_title Configuration %}
To use this device tracker in your installation, add the following to your `configuration.yaml` file:
```yaml
@ -37,6 +39,8 @@ qos:
type: string
{% endconfiguration %}
## {% linkable_title Usage %}
This platform receives JSON formatted payloads containing GPS information, for example:
```json