* Use icmplib for ping when available
* Update homeassistant/components/ping/binary_sensor.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Revert "Update homeassistant/components/ping/binary_sensor.py"
This reverts commit 618f42512a
.
* move it up so its easier to see
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
4 lines
102 B
Python
4 lines
102 B
Python
"""Tracks devices by sending a ICMP echo request (ping)."""
|
|
|
|
PING_TIMEOUT = 3
|
|
PING_ATTEMPTS_COUNT = 3
|