Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.hunterdouglas_powerview.util Namespace Reference

Functions

PowerviewAPI async_connect_hub (HomeAssistant hass, str address, int|None api_version=None)
 
def async_map_data_by_id (Iterable[dict[str|int, Any]] data)
 

Detailed Description

Coordinate data for powerview devices.

Function Documentation

◆ async_connect_hub()

PowerviewAPI homeassistant.components.hunterdouglas_powerview.util.async_connect_hub ( HomeAssistant  hass,
str  address,
int | None   api_version = None 
)
Create the hub and fetch the device info address.

Definition at line 24 of file util.py.

◆ async_map_data_by_id()

def homeassistant.components.hunterdouglas_powerview.util.async_map_data_by_id ( Iterable[dict[str | int, Any]]  data)
Return a dict with the key being the id for a list of entries.

Definition at line 19 of file util.py.