Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, ConfigEntry entry, Client client, asyncio.Lock api_lock, GuardianDataUpdateCoordinator sensor_pair_dump_coordinator) |
| None | async_initialize (self) |
| None | async_pair_sensor (self, str uid) |
| None | async_process_latest_paired_sensor_uids (self) |
| None | async_unpair_sensor (self, str uid) |
Private Attributes | |
| _api_lock | |
| _client | |
| _entry | |
| _hass | |
| _paired_uids | |
| _sensor_pair_dump_coordinator | |
Define an object that manages the addition/removal of paired sensors.
Definition at line 264 of file __init__.py.
| None homeassistant.components.guardian.PairedSensorManager.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| ConfigEntry | entry, | ||
| Client | client, | ||
| asyncio.Lock | api_lock, | ||
| GuardianDataUpdateCoordinator | sensor_pair_dump_coordinator | ||
| ) |
Initialize.
Definition at line 267 of file __init__.py.
| None homeassistant.components.guardian.PairedSensorManager.async_initialize | ( | self | ) |
Initialize the manager.
Definition at line 284 of file __init__.py.
| None homeassistant.components.guardian.PairedSensorManager.async_pair_sensor | ( | self, | |
| str | uid | ||
| ) |
Add a new paired sensor coordinator.
Definition at line 298 of file __init__.py.
| None homeassistant.components.guardian.PairedSensorManager.async_process_latest_paired_sensor_uids | ( | self | ) |
Process a list of new UIDs.
Definition at line 321 of file __init__.py.
| None homeassistant.components.guardian.PairedSensorManager.async_unpair_sensor | ( | self, | |
| str | uid | ||
| ) |
Remove a paired sensor coordinator.
Definition at line 342 of file __init__.py.
|
private |
Definition at line 276 of file __init__.py.
|
private |
Definition at line 277 of file __init__.py.
|
private |
Definition at line 278 of file __init__.py.
|
private |
Definition at line 279 of file __init__.py.
|
private |
Definition at line 334 of file __init__.py.
|
private |
Definition at line 281 of file __init__.py.