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

Public Member Functions

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

Public Attributes

 last_results
 
 parse_api_pattern
 
 req
 
 success_init
 
 verify_ssl
 

Private Member Functions

def _update_tomato_info (self)
 

Detailed Description

Class which queries a wireless router running Tomato firmware.

Definition at line 52 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.tomato.device_tracker.TomatoDeviceScanner.__init__ (   self,
  config 
)
Initialize the scanner.

Definition at line 55 of file device_tracker.py.

Member Function Documentation

◆ _update_tomato_info()

def homeassistant.components.tomato.device_tracker.TomatoDeviceScanner._update_tomato_info (   self)
private
Ensure the information from the Tomato router is up to date.

Return boolean if scanning successful.

Definition at line 95 of file device_tracker.py.

◆ get_device_name()

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

Definition at line 84 of file device_tracker.py.

◆ scan_devices()

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

Definition at line 78 of file device_tracker.py.

Member Data Documentation

◆ last_results

homeassistant.components.tomato.device_tracker.TomatoDeviceScanner.last_results

Definition at line 74 of file device_tracker.py.

◆ parse_api_pattern

homeassistant.components.tomato.device_tracker.TomatoDeviceScanner.parse_api_pattern

Definition at line 72 of file device_tracker.py.

◆ req

homeassistant.components.tomato.device_tracker.TomatoDeviceScanner.req

Definition at line 65 of file device_tracker.py.

◆ success_init

homeassistant.components.tomato.device_tracker.TomatoDeviceScanner.success_init

Definition at line 76 of file device_tracker.py.

◆ verify_ssl

homeassistant.components.tomato.device_tracker.TomatoDeviceScanner.verify_ssl

Definition at line 60 of file device_tracker.py.


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