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

Classes

class  ReolinkHostUpdateEntity
 
class  ReolinkHostUpdateEntityDescription
 
class  ReolinkUpdateBaseEntity
 
class  ReolinkUpdateEntity
 
class  ReolinkUpdateEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, ReolinkConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

tuple HOST_UPDATE_ENTITIES
 
int PARALLEL_UPDATES = 0
 
int POLL_AFTER_INSTALL = 120
 
int POLL_PROGRESS = 2
 
int RESUME_AFTER_INSTALL = 15
 
tuple UPDATE_ENTITIES
 

Detailed Description

Update entities for Reolink devices.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.reolink.update.async_setup_entry ( HomeAssistant  hass,
ReolinkConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up update entities for Reolink component.

Definition at line 74 of file update.py.

Variable Documentation

◆ HOST_UPDATE_ENTITIES

tuple homeassistant.components.reolink.update.HOST_UPDATE_ENTITIES
Initial value:
1 = (
2  ReolinkHostUpdateEntityDescription(
3  key="firmware",
4  supported=lambda api: api.supported(None, "firmware"),
5  device_class=UpdateDeviceClass.FIRMWARE,
6  ),
7 )

Definition at line 65 of file update.py.

◆ PARALLEL_UPDATES

int homeassistant.components.reolink.update.PARALLEL_UPDATES = 0

Definition at line 35 of file update.py.

◆ POLL_AFTER_INSTALL

int homeassistant.components.reolink.update.POLL_AFTER_INSTALL = 120

Definition at line 37 of file update.py.

◆ POLL_PROGRESS

int homeassistant.components.reolink.update.POLL_PROGRESS = 2

Definition at line 38 of file update.py.

◆ RESUME_AFTER_INSTALL

int homeassistant.components.reolink.update.RESUME_AFTER_INSTALL = 15

Definition at line 36 of file update.py.

◆ UPDATE_ENTITIES

tuple homeassistant.components.reolink.update.UPDATE_ENTITIES
Initial value:
1 = (
2  ReolinkUpdateEntityDescription(
3  key="firmware",
4  supported=lambda api, ch: api.supported(ch, "firmware"),
5  device_class=UpdateDeviceClass.FIRMWARE,
6  ),
7 )

Definition at line 57 of file update.py.