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

Public Member Functions

def __init__ (self, hub)
 
def async_get_device_name (self, device)
 
def async_get_extra_attributes (self, device)
 
def async_scan_devices (self)
 

Public Attributes

 last_results
 

Private Member Functions

def _async_update_info (self)
 

Private Attributes

 _hub
 

Detailed Description

Class which queries a Sky Hub router.

Definition at line 44 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.sky_hub.device_tracker.SkyHubDeviceScanner.__init__ (   self,
  hub 
)
Initialise the scanner.

Definition at line 47 of file device_tracker.py.

Member Function Documentation

◆ _async_update_info()

def homeassistant.components.sky_hub.device_tracker.SkyHubDeviceScanner._async_update_info (   self)
private
Ensure the information from the Sky Hub is up to date.

Definition at line 74 of file device_tracker.py.

◆ async_get_device_name()

def homeassistant.components.sky_hub.device_tracker.SkyHubDeviceScanner.async_get_device_name (   self,
  device 
)
Return the name of the given device.

Definition at line 57 of file device_tracker.py.

◆ async_get_extra_attributes()

def homeassistant.components.sky_hub.device_tracker.SkyHubDeviceScanner.async_get_extra_attributes (   self,
  device 
)
Get extra attributes of a device.

Definition at line 64 of file device_tracker.py.

◆ async_scan_devices()

def homeassistant.components.sky_hub.device_tracker.SkyHubDeviceScanner.async_scan_devices (   self)
Scan for new devices and return a list with found device IDs.

Definition at line 52 of file device_tracker.py.

Member Data Documentation

◆ _hub

homeassistant.components.sky_hub.device_tracker.SkyHubDeviceScanner._hub
private

Definition at line 49 of file device_tracker.py.

◆ last_results

homeassistant.components.sky_hub.device_tracker.SkyHubDeviceScanner.last_results

Definition at line 50 of file device_tracker.py.


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