Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ping.helpers.PingDataICMPLib Class Reference
Inheritance diagram for homeassistant.components.ping.helpers.PingDataICMPLib:
[legend]
Collaboration diagram for homeassistant.components.ping.helpers.PingDataICMPLib:
[legend]

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
 

Detailed Description

The Class for handling the data retrieval using icmplib.

Definition at line 41 of file helpers.py.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ async_update()

None homeassistant.components.ping.helpers.PingDataICMPLib.async_update (   self)
Retrieve the latest details from the host.

Definition at line 51 of file helpers.py.

Member Data Documentation

◆ _privileged

homeassistant.components.ping.helpers.PingDataICMPLib._privileged
private

Definition at line 49 of file helpers.py.

◆ data

homeassistant.components.ping.helpers.PingDataICMPLib.data

Definition at line 75 of file helpers.py.

◆ is_alive

homeassistant.components.ping.helpers.PingDataICMPLib.is_alive

Definition at line 63 of file helpers.py.


The documentation for this class was generated from the following file: