Tweak ping device_tracker docs (#16101)

This commit is contained in:
Ronald Evers 2021-01-05 19:42:36 +01:00 committed by GitHub
parent c856142ad7
commit 0bb3d8e7fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,18 +86,18 @@ To use this presence detection in your installation, add the following to your `
device_tracker:
- platform: ping
hosts:
hostname: 192.168.2.10
device_name_1: 192.168.2.10
```
{% configuration %}
hosts:
description: List of device names and their corresponding IP address or hostname. Device names must conform to the standard requirements of lower case, numbers and underscore only - see [entity names](/docs/configuration/troubleshooting/#entity-names).
description: Map of device names and their corresponding IP address or hostname. Device names must conform to the standard requirements of lower case, numbers and underscore only - see [entity names](/docs/configuration/troubleshooting/#entity-names).
required: true
type: list
type: map
count:
description: Number of packet used for each device (avoid false detection).
required: false
type: integer
{% endconfiguration %}
See the [device tracker integration page](/integrations/device_tracker/) for instructions how to configure the people to be tracked.
See the [person integration page](/integrations/person/) for instructions on how to configure the people to be tracked.