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

Public Member Functions

def __init__ (self, config)
 
def get_device_name (self, device)
 
dict get_extra_attributes (self, device)
 
def scan_devices (self)
 

Public Attributes

 client
 
 devices
 
 success_init
 

Private Member Functions

def _update_info (self)
 

Detailed Description

Scanner for devices connected to a Synology SRM router.

Definition at line 83 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.synology_srm.device_tracker.SynologySrmDeviceScanner.__init__ (   self,
  config 
)
Initialize the scanner.

Definition at line 86 of file device_tracker.py.

Member Function Documentation

◆ _update_info()

def homeassistant.components.synology_srm.device_tracker.SynologySrmDeviceScanner._update_info (   self)
private
Check the router for connected devices.

Definition at line 135 of file device_tracker.py.

◆ get_device_name()

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

Definition at line 124 of file device_tracker.py.

◆ get_extra_attributes()

dict homeassistant.components.synology_srm.device_tracker.SynologySrmDeviceScanner.get_extra_attributes (   self,
  device 
)
Get the extra attributes of a device.

Definition at line 109 of file device_tracker.py.

◆ scan_devices()

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

Definition at line 103 of file device_tracker.py.

Member Data Documentation

◆ client

homeassistant.components.synology_srm.device_tracker.SynologySrmDeviceScanner.client

Definition at line 89 of file device_tracker.py.

◆ devices

homeassistant.components.synology_srm.device_tracker.SynologySrmDeviceScanner.devices

Definition at line 100 of file device_tracker.py.

◆ success_init

homeassistant.components.synology_srm.device_tracker.SynologySrmDeviceScanner.success_init

Definition at line 101 of file device_tracker.py.


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