Data handler for AsusWrt sensor.
Definition at line 53 of file router.py.
◆ __init__()
Initialize a AsusWrt sensor data handler.
Definition at line 56 of file router.py.
◆ _get_connected_devices()
| dict[str, int] homeassistant.components.asuswrt.router.AsusWrtSensorDataHandler._get_connected_devices |
( |
|
self | ) |
|
|
private |
Return number of connected devices.
Definition at line 62 of file router.py.
◆ get_coordinator()
| DataUpdateCoordinator homeassistant.components.asuswrt.router.AsusWrtSensorDataHandler.get_coordinator |
( |
|
self, |
|
|
str |
sensor_type, |
|
|
Callable[[], Any] | None |
update_method = None |
|
) |
| |
Get the coordinator for a specific sensor type.
Definition at line 73 of file router.py.
◆ update_device_count()
| bool homeassistant.components.asuswrt.router.AsusWrtSensorDataHandler.update_device_count |
( |
|
self, |
|
|
int |
conn_devices |
|
) |
| |
Update connected devices attribute.
Definition at line 66 of file router.py.
◆ _api
| homeassistant.components.asuswrt.router.AsusWrtSensorDataHandler._api |
|
private |
◆ _connected_devices
| homeassistant.components.asuswrt.router.AsusWrtSensorDataHandler._connected_devices |
|
private |
◆ _hass
| homeassistant.components.asuswrt.router.AsusWrtSensorDataHandler._hass |
|
private |
The documentation for this class was generated from the following file:
- core/homeassistant/components/asuswrt/router.py