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

Classes

class  YoLinkNumberTypeConfigEntity
 
class  YoLinkNumberTypeConfigEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
int|None get_volume_value (dict[str, Any] state)
 

Variables

list NUMBER_TYPE_CONF_SUPPORT_DEVICES = [ATTR_DEVICE_SPEAKER_HUB]
 
string OPTIONS_VOLUME = "options_volume"
 
list SUPPORT_SET_VOLUME_DEVICES = [ATTR_DEVICE_SPEAKER_HUB]
 

Detailed Description

YoLink device number type config settings.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.yolink.number.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up device number type config option entity from a config entry.

Definition at line 66 of file number.py.

◆ get_volume_value()

int | None homeassistant.components.yolink.number.get_volume_value ( dict[str, Any]  state)
Get volume option.

Definition at line 43 of file number.py.

Variable Documentation

◆ NUMBER_TYPE_CONF_SUPPORT_DEVICES

list homeassistant.components.yolink.number.NUMBER_TYPE_CONF_SUPPORT_DEVICES = [ATTR_DEVICE_SPEAKER_HUB]

Definition at line 38 of file number.py.

◆ OPTIONS_VOLUME

string homeassistant.components.yolink.number.OPTIONS_VOLUME = "options_volume"

Definition at line 26 of file number.py.

◆ SUPPORT_SET_VOLUME_DEVICES

list homeassistant.components.yolink.number.SUPPORT_SET_VOLUME_DEVICES = [ATTR_DEVICE_SPEAKER_HUB]

Definition at line 40 of file number.py.