mirror of
https://github.com/home-assistant/core.git
synced 2025-06-03 12:47:06 +00:00

* 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 618f42512a89834bb8b2ed7830e7e77d79a29f44. * move it up so its easier to see Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
5 lines
102 B
Python
5 lines
102 B
Python
"""Tracks devices by sending a ICMP echo request (ping)."""
|
|
|
|
PING_TIMEOUT = 3
|
|
PING_ATTEMPTS_COUNT = 3
|