Skip to content

Commit

Permalink
Ping Sensor configuration variable style (#6449)
Browse files Browse the repository at this point in the history
Change to new style for configuration variables description.

Related to #6385.
  • Loading branch information
nwesterhausen authored and fabaff committed Oct 2, 2018
1 parent ef17ca3 commit 74c1a6c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions source/_components/device_tracker.ping.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@ device_tracker:
hostone: 192.168.2.10
```
Configuration variables:
- **hosts** array (*Required*): List of device names and their corresponding IP address or hostname.
- **count** (*Optional*): Number of packet used for each device (avoid false detection).
{% configuration %}
hosts:
description: List of device names and their corresponding IP address or hostname.
required: true
type: array
count:
description: Number of packet used for each device (avoid false detection).
required: false
type: int
{% endconfiguration %}
See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked.

0 comments on commit 74c1a6c

Please sign in to comment.