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

Classes

class  ProtectNumberEntityDescription
 
class  ProtectNumbers
 

Functions

int _get_auto_close (Doorlock obj)
 
int _get_chime_duration (Camera obj)
 
int _get_pir_duration (Light obj)
 
None _set_auto_close (Doorlock obj, float value)
 
None _set_pir_duration (Light obj, float value)
 
None async_setup_entry (HomeAssistant hass, UFPConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Detailed Description

Component providing number entities for UniFi Protect.

Function Documentation

◆ _get_auto_close()

int homeassistant.components.unifiprotect.number._get_auto_close ( Doorlock  obj)
private

Definition at line 52 of file number.py.

◆ _get_chime_duration()

int homeassistant.components.unifiprotect.number._get_chime_duration ( Camera  obj)
private

Definition at line 60 of file number.py.

◆ _get_pir_duration()

int homeassistant.components.unifiprotect.number._get_pir_duration ( Light  obj)
private

Definition at line 44 of file number.py.

◆ _set_auto_close()

None homeassistant.components.unifiprotect.number._set_auto_close ( Doorlock  obj,
float  value 
)
private

Definition at line 56 of file number.py.

◆ _set_pir_duration()

None homeassistant.components.unifiprotect.number._set_pir_duration ( Light  obj,
float  value 
)
private

Definition at line 48 of file number.py.

◆ async_setup_entry()

None homeassistant.components.unifiprotect.number.async_setup_entry ( HomeAssistant  hass,
UFPConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up number entities for UniFi Protect integration.

Definition at line 227 of file number.py.