Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, str host, int count, bool|None privileged) |
| 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 | |
| _privileged | |
Additional Inherited Members | |
Static Public Attributes inherited from homeassistant.components.ping.helpers.PingData | |
| bool | |
| None | |
The Class for handling the data retrieval using icmplib.
Definition at line 41 of file helpers.py.
| None homeassistant.components.ping.helpers.PingDataICMPLib.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| str | host, | ||
| int | count, | ||
| bool | None | privileged | ||
| ) |
Initialize the data object.
Definition at line 44 of file helpers.py.
| None homeassistant.components.ping.helpers.PingDataICMPLib.async_update | ( | self | ) |
Retrieve the latest details from the host.
Definition at line 51 of file helpers.py.
|
private |
Definition at line 49 of file helpers.py.
| homeassistant.components.ping.helpers.PingDataICMPLib.data |
Definition at line 75 of file helpers.py.
| homeassistant.components.ping.helpers.PingDataICMPLib.is_alive |
Definition at line 63 of file helpers.py.