Classes | |
| class | DnsmasqUbusDeviceScanner |
| class | OdhcpdUbusDeviceScanner |
| class | UbusDeviceScanner |
Functions | |
| def | _refresh_on_access_denied (func) |
| DeviceScanner|None | get_scanner (HomeAssistant hass, ConfigType config) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | CONF_DHCP_SOFTWARE = "dhcp_software" |
| string | DEFAULT_DHCP_SOFTWARE = "dnsmasq" |
| list | DHCP_SOFTWARES = ["dnsmasq", "odhcpd", "none"] |
| PLATFORM_SCHEMA | |
Support for OpenWRT (ubus) routers.
|
private |
If remove rebooted, it lost our session so rebuild one and try again.
Definition at line 55 of file device_tracker.py.
| DeviceScanner | None homeassistant.components.ubus.device_tracker.get_scanner | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Validate the configuration and return an ubus scanner.
Definition at line 39 of file device_tracker.py.
|
private |
Definition at line 21 of file device_tracker.py.
| string homeassistant.components.ubus.device_tracker.CONF_DHCP_SOFTWARE = "dhcp_software" |
Definition at line 23 of file device_tracker.py.
| string homeassistant.components.ubus.device_tracker.DEFAULT_DHCP_SOFTWARE = "dnsmasq" |
Definition at line 24 of file device_tracker.py.
| list homeassistant.components.ubus.device_tracker.DHCP_SOFTWARES = ["dnsmasq", "odhcpd", "none"] |
Definition at line 25 of file device_tracker.py.
| homeassistant.components.ubus.device_tracker.PLATFORM_SCHEMA |
Definition at line 27 of file device_tracker.py.