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

Public Member Functions

None async_start (self)
 
- Public Member Functions inherited from homeassistant.components.dhcp.WatcherBase
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)
 

Private Member Functions

None _async_process_dhcp_request (self, aiodhcpwatcher.DHCPRequest response)
 

Private Attributes

 _unsub
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.dhcp.WatcherBase
 hass
 

Detailed Description

Class to watch dhcp requests.

Definition at line 423 of file __init__.py.

Member Function Documentation

◆ _async_process_dhcp_request()

None homeassistant.components.dhcp.DHCPWatcher._async_process_dhcp_request (   self,
aiodhcpwatcher.DHCPRequest  response 
)
private
Process a dhcp request.

Definition at line 427 of file __init__.py.

◆ async_start()

None homeassistant.components.dhcp.DHCPWatcher.async_start (   self)
Start watching for dhcp packets.

Definition at line 433 of file __init__.py.

Member Data Documentation

◆ _unsub

homeassistant.components.dhcp.DHCPWatcher._unsub
private

Definition at line 435 of file __init__.py.


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