Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.unifi_direct.device_tracker.UnifiDeviceScanner Class Reference
Inheritance diagram for homeassistant.components.unifi_direct.device_tracker.UnifiDeviceScanner:
[legend]
Collaboration diagram for homeassistant.components.unifi_direct.device_tracker.UnifiDeviceScanner:
[legend]

Public Member Functions

None __init__ (self, ConfigType config)
 
str|None get_device_name (self, str device)
 
list[str] scan_devices (self)
 
bool update_clients (self)
 

Public Attributes

 ap
 
 clients
 

Detailed Description

Class which queries Unifi wireless access point.

Definition at line 41 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.unifi_direct.device_tracker.UnifiDeviceScanner.__init__ (   self,
ConfigType  config 
)
Initialize the scanner.

Definition at line 44 of file device_tracker.py.

Member Function Documentation

◆ get_device_name()

str | None homeassistant.components.unifi_direct.device_tracker.UnifiDeviceScanner.get_device_name (   self,
str  device 
)
Return the name of the given device or None if we don't know.

Definition at line 59 of file device_tracker.py.

◆ scan_devices()

list[str] homeassistant.components.unifi_direct.device_tracker.UnifiDeviceScanner.scan_devices (   self)
Scan for new devices and return a list with found device IDs.

Definition at line 54 of file device_tracker.py.

◆ update_clients()

bool homeassistant.components.unifi_direct.device_tracker.UnifiDeviceScanner.update_clients (   self)
Update the client info from AP.

Definition at line 66 of file device_tracker.py.

Member Data Documentation

◆ ap

homeassistant.components.unifi_direct.device_tracker.UnifiDeviceScanner.ap

Definition at line 47 of file device_tracker.py.

◆ clients

homeassistant.components.unifi_direct.device_tracker.UnifiDeviceScanner.clients

Definition at line 69 of file device_tracker.py.


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