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

Functions

list[UnifiDevice] async_discover_devices ()
 
None async_start_discovery (HomeAssistant hass)
 
None async_trigger_discovery (HomeAssistant hass, list[UnifiDevice] discovered_devices)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string DISCOVERY = "discovery"
 
 DISCOVERY_INTERVAL = timedelta(minutes=60)
 

Detailed Description

The unifiprotect integration discovery.

Function Documentation

◆ async_discover_devices()

list[UnifiDevice] homeassistant.components.unifiprotect.discovery.async_discover_devices ( )
Discover devices.

Definition at line 51 of file discovery.py.

◆ async_start_discovery()

None homeassistant.components.unifiprotect.discovery.async_start_discovery ( HomeAssistant  hass)
Start discovery.

Definition at line 26 of file discovery.py.

◆ async_trigger_discovery()

None homeassistant.components.unifiprotect.discovery.async_trigger_discovery ( HomeAssistant  hass,
list[UnifiDevice]  discovered_devices 
)
Trigger config flows for discovered devices.

Definition at line 60 of file discovery.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 19 of file discovery.py.

◆ DISCOVERY

string homeassistant.components.unifiprotect.discovery.DISCOVERY = "discovery"

Definition at line 21 of file discovery.py.

◆ DISCOVERY_INTERVAL

homeassistant.components.unifiprotect.discovery.DISCOVERY_INTERVAL = timedelta(minutes=60)

Definition at line 22 of file discovery.py.