Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ping.helpers Namespace Reference

Classes

class  PingData
 
class  PingDataICMPLib
 
class  PingDataSubProcess
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 PING_MATCHER
 
 PING_MATCHER_BUSYBOX
 
 WIN32_PING_MATCHER = re.compile(r"(?P<min>\d+)ms.+(?P<max>\d+)ms.+(?P<avg>\d+)ms")
 

Detailed Description

Ping classes shared between platforms.

Variable Documentation

◆ _LOGGER

homeassistant.components.ping.helpers._LOGGER = logging.getLogger(__name__)
private

Definition at line 15 of file helpers.py.

◆ PING_MATCHER

homeassistant.components.ping.helpers.PING_MATCHER
Initial value:
1 = re.compile(
2  r"(?P<min>\d+.\d+)\/(?P<avg>\d+.\d+)\/(?P<max>\d+.\d+)\/(?P<mdev>\d+.\d+)"
3 )

Definition at line 17 of file helpers.py.

◆ PING_MATCHER_BUSYBOX

homeassistant.components.ping.helpers.PING_MATCHER_BUSYBOX
Initial value:
1 = re.compile(
2  r"(?P<min>\d+.\d+)\/(?P<avg>\d+.\d+)\/(?P<max>\d+.\d+)"
3 )

Definition at line 21 of file helpers.py.

◆ WIN32_PING_MATCHER

homeassistant.components.ping.helpers.WIN32_PING_MATCHER = re.compile(r"(?P<min>\d+)ms.+(?P<max>\d+)ms.+(?P<avg>\d+)ms")

Definition at line 25 of file helpers.py.