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

Classes

class  ReolinkData
 

Functions

tuple[list[str], int|None, bool] get_device_uid_and_ch (dr.DeviceEntry device, ReolinkHost host)
 
bool is_connected (HomeAssistant hass, config_entries.ConfigEntry config_entry)
 

Variables

 ReolinkConfigEntry
 

Detailed Description

Utility functions for the Reolink component.

Function Documentation

◆ get_device_uid_and_ch()

tuple[list[str], int | None, bool] homeassistant.components.reolink.util.get_device_uid_and_ch ( dr.DeviceEntry  device,
ReolinkHost   host 
)
Get the channel and the split device_uid from a reolink DeviceEntry.

Definition at line 36 of file util.py.

◆ is_connected()

bool homeassistant.components.reolink.util.is_connected ( HomeAssistant  hass,
config_entries.ConfigEntry  config_entry 
)
Check if an existing entry has a proper connection.

Definition at line 27 of file util.py.

Variable Documentation

◆ ReolinkConfigEntry

homeassistant.components.reolink.util.ReolinkConfigEntry

Definition at line 15 of file util.py.