Public Member Functions | |
| def | __init__ (self, config) |
Public Member Functions inherited from homeassistant.components.ubus.device_tracker.UbusDeviceScanner | |
| dict[str, str] | async_get_extra_attributes (self, str device) |
| def | get_device_name (self, device) |
| def | scan_devices (self) |
Public Attributes | |
| leasefile | |
| mac2name | |
Public Attributes inherited from homeassistant.components.ubus.device_tracker.UbusDeviceScanner | |
| host | |
| hostapd | |
| last_results | |
| mac2name | |
| parse_api_pattern | |
| password | |
| success_init | |
| ubus | |
| url | |
| username | |
Private Member Functions | |
| def | _generate_mac2name (self) |
Implement the Ubus device scanning for the dnsmasq DHCP server.
Definition at line 147 of file device_tracker.py.
| def homeassistant.components.ubus.device_tracker.DnsmasqUbusDeviceScanner.__init__ | ( | self, | |
| config | |||
| ) |
Initialize the scanner.
Reimplemented from homeassistant.components.ubus.device_tracker.UbusDeviceScanner.
Definition at line 150 of file device_tracker.py.
|
private |
Return empty MAC to name dict. Overridden if DHCP server is set.
Reimplemented from homeassistant.components.ubus.device_tracker.UbusDeviceScanner.
Definition at line 155 of file device_tracker.py.
| homeassistant.components.ubus.device_tracker.DnsmasqUbusDeviceScanner.leasefile |
Definition at line 153 of file device_tracker.py.
| homeassistant.components.ubus.device_tracker.DnsmasqUbusDeviceScanner.mac2name |
Definition at line 165 of file device_tracker.py.