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

Classes

class  TechnoVENumberDescription
 
class  TechnoVENumberEntity
 

Functions

None _set_max_current (TechnoVEDataUpdateCoordinator coordinator, float value)
 
None async_setup_entry (HomeAssistant hass, TechnoVEConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

list NUMBERS
 

Detailed Description

Support for TechnoVE number entities.

Function Documentation

◆ _set_max_current()

None homeassistant.components.technove.number._set_max_current ( TechnoVEDataUpdateCoordinator  coordinator,
float   value 
)
private

Definition at line 40 of file number.py.

◆ async_setup_entry()

None homeassistant.components.technove.number.async_setup_entry ( HomeAssistant  hass,
TechnoVEConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up TechnoVE number entity based on a config entry.

Definition at line 66 of file number.py.

Variable Documentation

◆ NUMBERS

list homeassistant.components.technove.number.NUMBERS
Initial value:
1 = [
2  TechnoVENumberDescription(
3  key="max_current",
4  translation_key="max_current",
5  entity_category=EntityCategory.CONFIG,
6  device_class=NumberDeviceClass.CURRENT,
7  mode=NumberMode.BOX,
8  native_step=1,
9  native_min_value=MIN_CURRENT,
10  native_max_value_fn=lambda station: station.info.max_station_current,
11  native_value_fn=lambda station: station.info.max_current,
12  set_value_fn=_set_max_current,
13  ),
14 ]

Definition at line 50 of file number.py.