Class which queries a router running THOMSON firmware.
Definition at line 49 of file device_tracker.py.
◆ __init__()
| def homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner.__init__ |
( |
|
self, |
|
|
|
config |
|
) |
| |
◆ _update_info()
| def homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner._update_info |
( |
|
self | ) |
|
|
private |
Ensure the information from the THOMSON router is up to date.
Return boolean if scanning successful.
Definition at line 77 of file device_tracker.py.
◆ get_device_name()
| def homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner.get_device_name |
( |
|
self, |
|
|
|
device |
|
) |
| |
Return the name of the given device or None if we don't know.
Definition at line 68 of file device_tracker.py.
◆ get_thomson_data()
| def homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner.get_thomson_data |
( |
|
self | ) |
|
Retrieve data from THOMSON and return parsed result.
Definition at line 96 of file device_tracker.py.
◆ scan_devices()
| def homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner.scan_devices |
( |
|
self | ) |
|
Scan for new devices and return a list with found device IDs.
Definition at line 63 of file device_tracker.py.
◆ host
| homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner.host |
◆ last_results
| homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner.last_results |
◆ password
| homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner.password |
◆ success_init
| homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner.success_init |
◆ username
| homeassistant.components.thomson.device_tracker.ThomsonDeviceScanner.username |
The documentation for this class was generated from the following file: