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

Public Member Functions

def __init__ (self, controller)
 
def get_device_name (self, device)
 
def get_extra_attributes (self, device)
 
def scan_devices (self)
 

Public Attributes

 controller
 
 last_results
 

Private Member Functions

def _update_info (self)
 

Detailed Description

Scanner for devices associated to a Cisco ME controller.

Definition at line 59 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.cisco_mobility_express.device_tracker.CiscoMEDeviceScanner.__init__ (   self,
  controller 
)
Initialize the scanner.

Definition at line 62 of file device_tracker.py.

Member Function Documentation

◆ _update_info()

def homeassistant.components.cisco_mobility_express.device_tracker.CiscoMEDeviceScanner._update_info (   self)
private
Check the Cisco ME controller for devices.

Definition at line 91 of file device_tracker.py.

◆ get_device_name()

def homeassistant.components.cisco_mobility_express.device_tracker.CiscoMEDeviceScanner.get_device_name (   self,
  device 
)
Return the name of the given device or None if we don't know.

Definition at line 73 of file device_tracker.py.

◆ get_extra_attributes()

def homeassistant.components.cisco_mobility_express.device_tracker.CiscoMEDeviceScanner.get_extra_attributes (   self,
  device 
)
Get extra attributes of a device.

Some known extra attributes that may be returned in the device tuple
include SSID, PT (eg 802.11ac), devtype (eg iPhone 7) among others.

Definition at line 80 of file device_tracker.py.

◆ scan_devices()

def homeassistant.components.cisco_mobility_express.device_tracker.CiscoMEDeviceScanner.scan_devices (   self)
Scan for new devices and return a list with found device IDs.

Definition at line 67 of file device_tracker.py.

Member Data Documentation

◆ controller

homeassistant.components.cisco_mobility_express.device_tracker.CiscoMEDeviceScanner.controller

Definition at line 64 of file device_tracker.py.

◆ last_results

homeassistant.components.cisco_mobility_express.device_tracker.CiscoMEDeviceScanner.last_results

Definition at line 65 of file device_tracker.py.


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