Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, str host, int count, bool|None privileged) |
| dict[str, Any]|None | async_ping (self) |
| None | async_update (self) |
Public Member Functions inherited from homeassistant.components.ping.helpers.PingData | |
| None | __init__ (self, HomeAssistant hass, str host, int count) |
Public Attributes | |
| data | |
| is_alive | |
Public Attributes inherited from homeassistant.components.ping.helpers.PingData | |
| hass | |
| ip_address | |
Private Attributes | |
| _ping_cmd | |
Additional Inherited Members | |
Static Public Attributes inherited from homeassistant.components.ping.helpers.PingData | |
| bool | |
| None | |
The Class for handling the data retrieval using the ping binary.
Definition at line 85 of file helpers.py.
| None homeassistant.components.ping.helpers.PingDataSubProcess.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| str | host, | ||
| int | count, | ||
| bool | None | privileged | ||
| ) |
Initialize the data object.
Definition at line 88 of file helpers.py.
| dict[str, Any] | None homeassistant.components.ping.helpers.PingDataSubProcess.async_ping | ( | self | ) |
Send ICMP echo request and return details if success.
Definition at line 103 of file helpers.py.
| None homeassistant.components.ping.helpers.PingDataSubProcess.async_update | ( | self | ) |
Retrieve the latest details from the host.
Definition at line 173 of file helpers.py.
|
private |
Definition at line 93 of file helpers.py.
| homeassistant.components.ping.helpers.PingDataSubProcess.data |
Definition at line 175 of file helpers.py.
| homeassistant.components.ping.helpers.PingDataSubProcess.is_alive |
Definition at line 176 of file helpers.py.