Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dhcp.DeviceTrackerWatcher Class Reference
Inheritance diagram for homeassistant.components.dhcp.DeviceTrackerWatcher:
[legend]
Collaboration diagram for homeassistant.components.dhcp.DeviceTrackerWatcher:
[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_device_event (self, Event[EventStateChangedData] event)
 
None _async_process_device_state (self, State|None state)
 

Private Attributes

 _unsub
 

Additional Inherited Members

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

Detailed Description

Class to watch dhcp data from routers.

Definition at line 362 of file __init__.py.

Member Function Documentation

◆ _async_process_device_event()

None homeassistant.components.dhcp.DeviceTrackerWatcher._async_process_device_event (   self,
Event[EventStateChangedData event 
)
private
Process a device tracker state change event.

Definition at line 375 of file __init__.py.

◆ _async_process_device_state()

None homeassistant.components.dhcp.DeviceTrackerWatcher._async_process_device_state (   self,
State | None  state 
)
private
Process a device tracker state.

Definition at line 380 of file __init__.py.

◆ async_start()

None homeassistant.components.dhcp.DeviceTrackerWatcher.async_start (   self)
Stop watching for new device trackers.

Definition at line 366 of file __init__.py.

Member Data Documentation

◆ _unsub

homeassistant.components.dhcp.DeviceTrackerWatcher._unsub
private

Definition at line 368 of file __init__.py.


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