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 | |
Base class for dhcp and device tracker watching.
Definition at line 176 of file __init__.py.
| 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.
| 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.
| 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.
|
private |
Definition at line 190 of file __init__.py.
|
private |
Definition at line 189 of file __init__.py.
|
private |
Definition at line 198 of file __init__.py.
| homeassistant.components.dhcp.WatcherBase.hass |
Definition at line 188 of file __init__.py.