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

Classes

class  ReolinkButtonEntity
 
class  ReolinkButtonEntityDescription
 
class  ReolinkHostButtonEntity
 
class  ReolinkHostButtonEntityDescription
 

Functions

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

Variables

string ATTR_SPEED = "speed"
 
tuple BUTTON_ENTITIES
 
tuple HOST_BUTTON_ENTITIES
 
int PARALLEL_UPDATES = 0
 
string SERVICE_PTZ_MOVE = "ptz_move"
 
 SUPPORT_PTZ_SPEED = CameraEntityFeature.STREAM
 

Detailed Description

Component providing support for Reolink button entities.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.reolink.button.async_setup_entry ( HomeAssistant  hass,
ReolinkConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up a Reolink button entities.

Definition at line 152 of file button.py.

Variable Documentation

◆ ATTR_SPEED

string homeassistant.components.reolink.button.ATTR_SPEED = "speed"

Definition at line 37 of file button.py.

◆ BUTTON_ENTITIES

tuple homeassistant.components.reolink.button.BUTTON_ENTITIES

Definition at line 64 of file button.py.

◆ HOST_BUTTON_ENTITIES

tuple homeassistant.components.reolink.button.HOST_BUTTON_ENTITIES
Initial value:
1 = (
2  ReolinkHostButtonEntityDescription(
3  key="reboot",
4  device_class=ButtonDeviceClass.RESTART,
5  entity_category=EntityCategory.CONFIG,
6  entity_registry_enabled_default=False,
7  supported=lambda api: api.supported(None, "reboot"),
8  method=lambda api: api.reboot(),
9  ),
10 )

Definition at line 140 of file button.py.

◆ PARALLEL_UPDATES

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

Definition at line 36 of file button.py.

◆ SERVICE_PTZ_MOVE

string homeassistant.components.reolink.button.SERVICE_PTZ_MOVE = "ptz_move"

Definition at line 39 of file button.py.

◆ SUPPORT_PTZ_SPEED

homeassistant.components.reolink.button.SUPPORT_PTZ_SPEED = CameraEntityFeature.STREAM

Definition at line 38 of file button.py.