Use icmplib for ping when available (#39284)
* 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>
This commit is contained in:
1 parent
b4bac0f7a0
commit
7c191388a9
5 files changed
+86
-6
No files matched your search
@@ -1,3 +1,4 @@
|
||||
"""Tracks devices by sending a ICMP echo request (ping)."""
|
||||
|
||||
PING_TIMEOUT = 3
|
||||
PING_ATTEMPTS_COUNT = 3
|
||||
Reference in new issue
Block a user