Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.unifi.entity Namespace Reference

Classes

class  UnifiEntity
 
class  UnifiEntityDescription
 

Functions

DeviceInfo async_client_device_info_fn (UnifiHub hub, str obj_id)
 
bool async_device_available_fn (UnifiHub hub, str obj_id)
 
DeviceInfo async_device_device_info_fn (UnifiHub hub, str obj_id)
 
bool async_wlan_available_fn (UnifiHub hub, str obj_id)
 
DeviceInfo async_wlan_device_info_fn (UnifiHub hub, str obj_id)
 

Variables

 HandlerT = TypeVar("HandlerT", bound=APIHandler)
 
 SubscriptionT = Callable[[CallbackType, ItemEvent], UnsubscribeType]
 

Detailed Description

UniFi entity representation.

Function Documentation

◆ async_client_device_info_fn()

DeviceInfo homeassistant.components.unifi.entity.async_client_device_info_fn ( UnifiHub  hub,
str  obj_id 
)
Create device registry entry for client.

Definition at line 87 of file entity.py.

◆ async_device_available_fn()

bool homeassistant.components.unifi.entity.async_device_available_fn ( UnifiHub  hub,
str  obj_id 
)
Check if device is available.

Definition at line 40 of file entity.py.

◆ async_device_device_info_fn()

DeviceInfo homeassistant.components.unifi.entity.async_device_device_info_fn ( UnifiHub  hub,
str  obj_id 
)
Create device registry entry for device.

Definition at line 57 of file entity.py.

◆ async_wlan_available_fn()

bool homeassistant.components.unifi.entity.async_wlan_available_fn ( UnifiHub  hub,
str  obj_id 
)
Check if WLAN is available.

Definition at line 50 of file entity.py.

◆ async_wlan_device_info_fn()

DeviceInfo homeassistant.components.unifi.entity.async_wlan_device_info_fn ( UnifiHub  hub,
str  obj_id 
)
Create device registry entry for WLAN.

Definition at line 74 of file entity.py.

Variable Documentation

◆ HandlerT

homeassistant.components.unifi.entity.HandlerT = TypeVar("HandlerT", bound=APIHandler)

Definition at line 35 of file entity.py.

◆ SubscriptionT

homeassistant.components.unifi.entity.SubscriptionT = Callable[[CallbackType, ItemEvent], UnsubscribeType]

Definition at line 36 of file entity.py.