mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 11:18:00 +02:00
Update homeassistant/components/ping/binary_sensor.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
@ -146,10 +146,6 @@ class PingDataICMPLib(PingData):
|
|||||||
class PingDataSubProcess(PingData):
|
class PingDataSubProcess(PingData):
|
||||||
"""The Class for handling the data retrieval using the ping binary."""
|
"""The Class for handling the data retrieval using the ping binary."""
|
||||||
|
|
||||||
def __init__(self, hass, host, count) -> None:
|
|
||||||
"""Initialize the data object."""
|
|
||||||
super().__init__(hass, host, count)
|
|
||||||
|
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
self._ping_cmd = [
|
self._ping_cmd = [
|
||||||
"ping",
|
"ping",
|
||||||
|
Reference in New Issue
Block a user