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

Public Member Functions

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

Public Attributes

 last_results
 
 success_init
 

Private Member Functions

bool _update_info (self)
 

Detailed Description

Class which queries an actiontec router for connected devices.

Definition at line 43 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.actiontec.device_tracker.ActiontecDeviceScanner.__init__ (   self,
ConfigType  config 
)
Initialize the scanner.

Definition at line 46 of file device_tracker.py.

Member Function Documentation

◆ _update_info()

bool homeassistant.components.actiontec.device_tracker.ActiontecDeviceScanner._update_info (   self)
private
Ensure the information from the router is up to date.

Return boolean if scanning successful.

Definition at line 67 of file device_tracker.py.

◆ get_actiontec_data()

list[Device] | None homeassistant.components.actiontec.device_tracker.ActiontecDeviceScanner.get_actiontec_data (   self)
Retrieve data from Actiontec MI424WR and return parsed result.

Definition at line 84 of file device_tracker.py.

◆ get_device_name()

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

Definition at line 60 of file device_tracker.py.

◆ scan_devices()

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

Definition at line 55 of file device_tracker.py.

Member Data Documentation

◆ last_results

homeassistant.components.actiontec.device_tracker.ActiontecDeviceScanner.last_results

Definition at line 78 of file device_tracker.py.

◆ success_init

homeassistant.components.actiontec.device_tracker.ActiontecDeviceScanner.success_init

Definition at line 53 of file device_tracker.py.


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