Classes | |
| class | BaseTrackerEntity |
| class | ScannerEntity |
| class | ScannerEntityDescription |
| class | TrackerEntity |
| class | TrackerEntityDescription |
Functions | |
| None | _async_connected_device_registered (HomeAssistant hass, str mac, str|None ip_address, str|None hostname) |
| None | _async_register_mac (HomeAssistant hass, str domain, str mac, str unique_id) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
Variables | |
| dictionary | CACHED_SCANNER_PROPERTIES_WITH_ATTR_ |
| dictionary | CACHED_TRACKER_PROPERTIES_WITH_ATTR_ |
Code to set up a device tracker platform using a config entry.
|
private |
Register a newly seen connected device. This is currently used by the dhcp integration to listen for newly registered connected devices for discovery.
Definition at line 72 of file config_entry.py.
|
private |
Register a mac address with a unique ID.
Definition at line 93 of file config_entry.py.
| bool homeassistant.components.device_tracker.config_entry.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up an entry.
Definition at line 51 of file config_entry.py.
| bool homeassistant.components.device_tracker.config_entry.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload an entry.
Definition at line 66 of file config_entry.py.
| dictionary homeassistant.components.device_tracker.config_entry.CACHED_SCANNER_PROPERTIES_WITH_ATTR_ |
Definition at line 298 of file config_entry.py.
| dictionary homeassistant.components.device_tracker.config_entry.CACHED_TRACKER_PROPERTIES_WITH_ATTR_ |
Definition at line 206 of file config_entry.py.