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

Variables

 __all__ = all_with_deprecated_constants(globals())
 
 __dir__
 
 __getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
 
string ATTR_MAX = "max"
 
string ATTR_MIN = "min"
 
string ATTR_STEP = "step"
 
string ATTR_STEP_VALIDATION = "step_validation"
 
string ATTR_VALUE = "value"
 
float DEFAULT_MAX_VALUE = 100.0
 
float DEFAULT_MIN_VALUE = 0.0
 
float DEFAULT_STEP = 1.0
 
string DOMAIN = "number"
 
string SERVICE_SET_VALUE = "set_value"
 

Detailed Description

Provides the constants needed for the component.

Variable Documentation

◆ __all__

homeassistant.components.number.const.__all__ = all_with_deprecated_constants(globals())
private

Definition at line 534 of file const.py.

◆ __dir__

homeassistant.components.number.const.__dir__
private
Initial value:
1 = partial(
2  dir_with_deprecated_constants, module_globals_keys=[*globals().keys()]
3 )

Definition at line 531 of file const.py.

◆ __getattr__

homeassistant.components.number.const.__getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
private

Definition at line 530 of file const.py.

◆ ATTR_MAX

string homeassistant.components.number.const.ATTR_MAX = "max"

Definition at line 58 of file const.py.

◆ ATTR_MIN

string homeassistant.components.number.const.ATTR_MIN = "min"

Definition at line 57 of file const.py.

◆ ATTR_STEP

string homeassistant.components.number.const.ATTR_STEP = "step"

Definition at line 59 of file const.py.

◆ ATTR_STEP_VALIDATION

string homeassistant.components.number.const.ATTR_STEP_VALIDATION = "step_validation"

Definition at line 60 of file const.py.

◆ ATTR_VALUE

string homeassistant.components.number.const.ATTR_VALUE = "value"

Definition at line 56 of file const.py.

◆ DEFAULT_MAX_VALUE

float homeassistant.components.number.const.DEFAULT_MAX_VALUE = 100.0

Definition at line 63 of file const.py.

◆ DEFAULT_MIN_VALUE

float homeassistant.components.number.const.DEFAULT_MIN_VALUE = 0.0

Definition at line 62 of file const.py.

◆ DEFAULT_STEP

float homeassistant.components.number.const.DEFAULT_STEP = 1.0

Definition at line 64 of file const.py.

◆ DOMAIN

string homeassistant.components.number.const.DOMAIN = "number"

Definition at line 66 of file const.py.

◆ SERVICE_SET_VALUE

string homeassistant.components.number.const.SERVICE_SET_VALUE = "set_value"

Definition at line 68 of file const.py.