Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, OmadaSiteClient omada_client) |
| OmadaClientsCoordinator | clients_coordinator (self) |
| OmadaDevicesCoordinator | devices_coordinator (self) |
| OmadaGatewayCoordinator|None | gateway_coordinator (self) |
| OmadaSwitchPortCoordinator | get_switch_port_coordinator (self, OmadaSwitch switch) |
| None | initialize_first_refresh (self) |
| OmadaSiteClient | omada_client (self) |
Static Public Attributes | |
| None | |
Private Attributes | |
| _clients_coordinator | |
| _devices_coordinator | |
| _gateway_coordinator | |
| _hass | |
| _omada_client | |
Controller for the Omada SDN site.
Definition at line 16 of file controller.py.
| None homeassistant.components.tplink_omada.controller.OmadaSiteController.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| OmadaSiteClient | omada_client | ||
| ) |
Create the controller.
Definition at line 21 of file controller.py.
| OmadaClientsCoordinator homeassistant.components.tplink_omada.controller.OmadaSiteController.clients_coordinator | ( | self | ) |
Gets the coordinator for site's clients.
Definition at line 75 of file controller.py.
| OmadaDevicesCoordinator homeassistant.components.tplink_omada.controller.OmadaSiteController.devices_coordinator | ( | self | ) |
Gets the coordinator for site's devices.
Definition at line 70 of file controller.py.
| OmadaGatewayCoordinator | None homeassistant.components.tplink_omada.controller.OmadaSiteController.gateway_coordinator | ( | self | ) |
Gets the coordinator for site's gateway, or None if there is no gateway.
Definition at line 65 of file controller.py.
| OmadaSwitchPortCoordinator homeassistant.components.tplink_omada.controller.OmadaSiteController.get_switch_port_coordinator | ( | self, | |
| OmadaSwitch | switch | ||
| ) |
Get coordinator for network port information of a given switch.
Definition at line 53 of file controller.py.
| None homeassistant.components.tplink_omada.controller.OmadaSiteController.initialize_first_refresh | ( | self | ) |
Initialize the all coordinators, and perform first refresh.
Definition at line 34 of file controller.py.
| OmadaSiteClient homeassistant.components.tplink_omada.controller.OmadaSiteController.omada_client | ( | self | ) |
Get the connected client API for the site to manage.
Definition at line 49 of file controller.py.
|
private |
Definition at line 32 of file controller.py.
|
private |
Definition at line 31 of file controller.py.
|
private |
Definition at line 41 of file controller.py.
|
private |
Definition at line 27 of file controller.py.
|
private |
Definition at line 28 of file controller.py.
|
static |
Definition at line 19 of file controller.py.