Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ezviz.number Namespace Reference

Classes

class  EzvizNumber
 
class  EzvizNumberEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 NUMBER_TYPE
 
int PARALLEL_UPDATES = 0
 
 SCAN_INTERVAL = timedelta(seconds=3600)
 

Detailed Description

Support for EZVIZ number controls.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.ezviz.number.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up EZVIZ sensors based on a config entry.

Definition at line 53 of file number.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.ezviz.number._LOGGER = logging.getLogger(__name__)
private

Definition at line 31 of file number.py.

◆ NUMBER_TYPE

homeassistant.components.ezviz.number.NUMBER_TYPE
Initial value:
1 = EzvizNumberEntityDescription(
2  key="detection_sensibility",
3  translation_key="detection_sensibility",
4  entity_category=EntityCategory.CONFIG,
5  native_min_value=0,
6  native_step=1,
7  supported_ext=str(SupportExt.SupportSensibilityAdjust.value),
8  supported_ext_value=["1", "3"],
9 )

Definition at line 42 of file number.py.

◆ PARALLEL_UPDATES

int homeassistant.components.ezviz.number.PARALLEL_UPDATES = 0

Definition at line 30 of file number.py.

◆ SCAN_INTERVAL

homeassistant.components.ezviz.number.SCAN_INTERVAL = timedelta(seconds=3600)

Definition at line 29 of file number.py.