Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.unifi_direct.device_tracker Namespace Reference

Classes

class  UnifiDeviceScanner
 

Functions

UnifiDeviceScanner|None get_scanner (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int DEFAULT_SSH_PORT = 22
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for Unifi AP direct access.

Function Documentation

◆ get_scanner()

UnifiDeviceScanner | None homeassistant.components.unifi_direct.device_tracker.get_scanner ( HomeAssistant  hass,
ConfigType  config 
)
Validate the configuration and return a Unifi direct scanner.

Definition at line 35 of file device_tracker.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.unifi_direct.device_tracker._LOGGER = logging.getLogger(__name__)
private

Definition at line 21 of file device_tracker.py.

◆ DEFAULT_SSH_PORT

int homeassistant.components.unifi_direct.device_tracker.DEFAULT_SSH_PORT = 22

Definition at line 23 of file device_tracker.py.

◆ PLATFORM_SCHEMA

homeassistant.components.unifi_direct.device_tracker.PLATFORM_SCHEMA
Initial value:
1 = DEVICE_TRACKER_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_HOST): cv.string,
4  vol.Required(CONF_PASSWORD): cv.string,
5  vol.Required(CONF_USERNAME): cv.string,
6  vol.Optional(CONF_PORT, default=DEFAULT_SSH_PORT): cv.port,
7  }
8 )

Definition at line 25 of file device_tracker.py.