Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.unifiprotect Namespace Reference

Namespaces

 binary_sensor
 
 button
 
 camera
 
 config_flow
 
 const
 
 data
 
 diagnostics
 
 discovery
 
 entity
 
 event
 
 light
 
 lock
 
 media_player
 
 media_source
 
 migrate
 
 number
 
 repairs
 
 select
 
 sensor
 
 services
 
 switch
 
 text
 
 utils
 
 views
 

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)
 

Detailed Description

UniFi Protect Platform.

Function Documentation

◆ _async_options_updated()

None homeassistant.components.unifiprotect._async_options_updated ( HomeAssistant  hass,
UFPConfigEntry  entry 
)
private
Update options.

Definition at line 180 of file __init__.py.

◆ _async_setup_entry()

None homeassistant.components.unifiprotect._async_setup_entry ( HomeAssistant  hass,
UFPConfigEntry  entry,
ProtectData  data_service,
Bootstrap  bootstrap 
)
private

Definition at line 166 of file __init__.py.

◆ async_remove_config_entry_device()

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.

◆ async_setup()

bool homeassistant.components.unifiprotect.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the UniFi Protect.

Definition at line 61 of file __init__.py.

◆ async_setup_entry()

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.

◆ async_unload_entry()

bool homeassistant.components.unifiprotect.async_unload_entry ( HomeAssistant  hass,
UFPConfigEntry  entry 
)
Unload UniFi Protect config entry.

Definition at line 185 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.unifiprotect._LOGGER = logging.getLogger(__name__)
private

Definition at line 50 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.unifiprotect.CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)

Definition at line 54 of file __init__.py.

◆ EARLY_ACCESS_URL

tuple homeassistant.components.unifiprotect.EARLY_ACCESS_URL
Initial value:
1 = (
2  "https://www.home-assistant.io/integrations/unifiprotect#software-support"
3 )

Definition at line 56 of file __init__.py.

◆ SCAN_INTERVAL

homeassistant.components.unifiprotect.SCAN_INTERVAL = timedelta(seconds=DEVICE_UPDATE_INTERVAL)

Definition at line 52 of file __init__.py.