Functions | |
| str|None | _async_resolve (HomeAssistant hass, str host) |
| str | _async_short_mac (str mac) |
| str | _async_unifi_mac_from_hass (str mac) |
| ProtectApiClient | async_create_api_client (HomeAssistant hass, UFPConfigEntry entry) |
| Generator[ProtectAdoptableDeviceModel] | async_get_devices (Bootstrap bootstrap, Iterable[ModelType] model_type) |
| dict[str, ProtectAdoptableDeviceModel] | async_get_devices_by_type (Bootstrap bootstrap, ModelType device_type) |
| str | async_get_light_motion_current (Light obj) |
| str | get_camera_base_name (CameraChannel channel) |
UniFi Protect Integration utils.
|
private |
|
private |
|
private |
| ProtectApiClient homeassistant.components.unifiprotect.utils.async_create_api_client | ( | HomeAssistant | hass, |
| UFPConfigEntry | entry | ||
| ) |
| Generator[ProtectAdoptableDeviceModel] homeassistant.components.unifiprotect.utils.async_get_devices | ( | Bootstrap | bootstrap, |
| Iterable[ModelType] | model_type | ||
| ) |
| dict[str, ProtectAdoptableDeviceModel] homeassistant.components.unifiprotect.utils.async_get_devices_by_type | ( | Bootstrap | bootstrap, |
| ModelType | device_type | ||
| ) |
| str homeassistant.components.unifiprotect.utils.async_get_light_motion_current | ( | Light | obj | ) |