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

Classes

class  ArubaDeviceScanner
 

Functions

ArubaDeviceScanner|None get_scanner (HomeAssistant hass, ConfigType config)
 

Variables

 _DEVICES_REGEX
 
 _LOGGER = logging.getLogger(__name__)
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for Aruba Access Points.

Function Documentation

◆ get_scanner()

ArubaDeviceScanner | None homeassistant.components.aruba.device_tracker.get_scanner ( HomeAssistant  hass,
ConfigType  config 
)
Validate the configuration and return a Aruba scanner.

Definition at line 39 of file device_tracker.py.

Variable Documentation

◆ _DEVICES_REGEX

homeassistant.components.aruba.device_tracker._DEVICES_REGEX
private
Initial value:
1 = re.compile(
2  r"(?P<name>([^\s]+)?)\s+"
3  r"(?P<ip>([0-9]{1,3}[\.]){3}[0-9]{1,3})\s+"
4  r"(?P<mac>([0-9a-f]{2}[:-]){5}([0-9a-f]{2}))\s+"
5 )

Definition at line 24 of file device_tracker.py.

◆ _LOGGER

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

Definition at line 22 of file device_tracker.py.

◆ PLATFORM_SCHEMA

homeassistant.components.aruba.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  }
7 )

Definition at line 30 of file device_tracker.py.