Functions | |
| None | _async_options_updated (HomeAssistant hass, UFPConfigEntry entry) |
| None | _async_setup_entry (HomeAssistant hass, UFPConfigEntry entry, ProtectData data_service, Bootstrap bootstrap) |
| bool | async_remove_config_entry_device (HomeAssistant hass, UFPConfigEntry config_entry, dr.DeviceEntry device_entry) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, UFPConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, UFPConfigEntry entry) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) | |
| tuple | EARLY_ACCESS_URL |
| SCAN_INTERVAL = timedelta(seconds=DEVICE_UPDATE_INTERVAL) | |
UniFi Protect Platform.
|
private |
Update options.
Definition at line 180 of file __init__.py.
|
private |
Definition at line 166 of file __init__.py.
| bool homeassistant.components.unifiprotect.async_remove_config_entry_device | ( | HomeAssistant | hass, |
| UFPConfigEntry | config_entry, | ||
| dr.DeviceEntry | device_entry | ||
| ) |
Remove ufp config entry from a device.
Definition at line 192 of file __init__.py.
| bool homeassistant.components.unifiprotect.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the UniFi Protect.
Definition at line 61 of file __init__.py.
| bool homeassistant.components.unifiprotect.async_setup_entry | ( | HomeAssistant | hass, |
| UFPConfigEntry | entry | ||
| ) |
Set up the UniFi Protect config entries.
Definition at line 69 of file __init__.py.
| bool homeassistant.components.unifiprotect.async_unload_entry | ( | HomeAssistant | hass, |
| UFPConfigEntry | entry | ||
| ) |
Unload UniFi Protect config entry.
Definition at line 185 of file __init__.py.
|
private |
Definition at line 50 of file __init__.py.
| homeassistant.components.unifiprotect.CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) |
Definition at line 54 of file __init__.py.
| tuple homeassistant.components.unifiprotect.EARLY_ACCESS_URL |
Definition at line 56 of file __init__.py.
| homeassistant.components.unifiprotect.SCAN_INTERVAL = timedelta(seconds=DEVICE_UPDATE_INTERVAL) |
Definition at line 52 of file __init__.py.