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

Namespaces

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Functions

bool async_remove_config_entry_device (HomeAssistant hass, ReolinkConfigEntry config_entry, dr.DeviceEntry device)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, ReolinkConfigEntry config_entry)
 
bool async_unload_entry (HomeAssistant hass, ReolinkConfigEntry config_entry)
 
None entry_update_listener (HomeAssistant hass, ReolinkConfigEntry config_entry)
 
None migrate_entity_ids (HomeAssistant hass, str config_entry_id, ReolinkHost host)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
 
 DEVICE_UPDATE_INTERVAL = timedelta(seconds=60)
 
 FIRMWARE_UPDATE_INTERVAL = timedelta(hours=12)
 
int NUM_CRED_ERRORS = 3
 
list PLATFORMS
 

Detailed Description

Reolink integration for HomeAssistant.

Function Documentation

◆ async_remove_config_entry_device()

bool homeassistant.components.reolink.async_remove_config_entry_device ( HomeAssistant  hass,
ReolinkConfigEntry  config_entry,
dr.DeviceEntry   device 
)
Remove a device from a config entry.

Definition at line 217 of file __init__.py.

◆ async_setup()

bool homeassistant.components.reolink.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up Reolink shared code.

Definition at line 52 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.reolink.async_setup_entry ( HomeAssistant  hass,
ReolinkConfigEntry   config_entry 
)
Set up Reolink from a config entry.

Definition at line 59 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.reolink.async_unload_entry ( HomeAssistant  hass,
ReolinkConfigEntry   config_entry 
)
Unload a config entry.

Definition at line 206 of file __init__.py.

◆ entry_update_listener()

None homeassistant.components.reolink.entry_update_listener ( HomeAssistant  hass,
ReolinkConfigEntry   config_entry 
)
Update the configuration of the host entity.

Definition at line 199 of file __init__.py.

◆ migrate_entity_ids()

None homeassistant.components.reolink.migrate_entity_ids ( HomeAssistant  hass,
str  config_entry_id,
ReolinkHost   host 
)
Migrate entity IDs if needed.

Definition at line 301 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 31 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.reolink.CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)

Definition at line 49 of file __init__.py.

◆ DEVICE_UPDATE_INTERVAL

homeassistant.components.reolink.DEVICE_UPDATE_INTERVAL = timedelta(seconds=60)

Definition at line 45 of file __init__.py.

◆ FIRMWARE_UPDATE_INTERVAL

homeassistant.components.reolink.FIRMWARE_UPDATE_INTERVAL = timedelta(hours=12)

Definition at line 46 of file __init__.py.

◆ NUM_CRED_ERRORS

int homeassistant.components.reolink.NUM_CRED_ERRORS = 3

Definition at line 47 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.reolink.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.BUTTON,
4  Platform.CAMERA,
5  Platform.LIGHT,
6  Platform.NUMBER,
7  Platform.SELECT,
8  Platform.SENSOR,
9  Platform.SIREN,
10  Platform.SWITCH,
11  Platform.UPDATE,
12 ]

Definition at line 33 of file __init__.py.