Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dhcp.WatcherBase Class Reference
Inheritance diagram for homeassistant.components.dhcp.WatcherBase:
[legend]

Public Member Functions

None __init__ (self, HomeAssistant hass, dict[str, dict[str, str]] address_data, DhcpMatchers integration_matchers)
 
None async_process_client (self, str ip_address, str hostname, str unformatted_mac_address, bool force=False)
 
None async_stop (self)
 

Public Attributes

 hass
 

Private Attributes

 _address_data
 
 _integration_matchers
 
 _unsub
 

Detailed Description

Base class for dhcp and device tracker watching.

Definition at line 176 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.dhcp.WatcherBase.__init__ (   self,
HomeAssistant  hass,
dict[str, dict[str, str]]  address_data,
DhcpMatchers  integration_matchers 
)
Initialize class.

Reimplemented in homeassistant.components.dhcp.NetworkWatcher.

Definition at line 179 of file __init__.py.

Member Function Documentation

◆ async_process_client()

None homeassistant.components.dhcp.WatcherBase.async_process_client (   self,
str  ip_address,
str  hostname,
str  unformatted_mac_address,
bool   force = False 
)
Process a client.

Definition at line 201 of file __init__.py.

◆ async_stop()

None homeassistant.components.dhcp.WatcherBase.async_stop (   self)
Stop scanning for new devices on the network.

Reimplemented in homeassistant.components.dhcp.NetworkWatcher.

Definition at line 194 of file __init__.py.

Member Data Documentation

◆ _address_data

homeassistant.components.dhcp.WatcherBase._address_data
private

Definition at line 190 of file __init__.py.

◆ _integration_matchers

homeassistant.components.dhcp.WatcherBase._integration_matchers
private

Definition at line 189 of file __init__.py.

◆ _unsub

homeassistant.components.dhcp.WatcherBase._unsub
private

Definition at line 198 of file __init__.py.

◆ hass

homeassistant.components.dhcp.WatcherBase.hass

Definition at line 188 of file __init__.py.


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