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

Variables

 __all__ = all_with_deprecated_constants(globals())
 
 __dir__
 
 __getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
 
 _DEPRECATED_DEVICE_CLASS_DEHUMIDIFIER
 
 _DEPRECATED_DEVICE_CLASS_HUMIDIFIER
 
 _DEPRECATED_SUPPORT_MODES
 
string ATTR_ACTION = "action"
 
string ATTR_AVAILABLE_MODES = "available_modes"
 
string ATTR_CURRENT_HUMIDITY = "current_humidity"
 
string ATTR_HUMIDITY = "humidity"
 
string ATTR_MAX_HUMIDITY = "max_humidity"
 
string ATTR_MIN_HUMIDITY = "min_humidity"
 
int DEFAULT_MAX_HUMIDITY = 100
 
int DEFAULT_MIN_HUMIDITY = 0
 
string DOMAIN = "humidifier"
 
string MODE_AUTO = "auto"
 
string MODE_AWAY = "away"
 
string MODE_BABY = "baby"
 
string MODE_BOOST = "boost"
 
string MODE_COMFORT = "comfort"
 
string MODE_ECO = "eco"
 
string MODE_HOME = "home"
 
string MODE_NORMAL = "normal"
 
string MODE_SLEEP = "sleep"
 
string SERVICE_SET_HUMIDITY = "set_humidity"
 
string SERVICE_SET_MODE = "set_mode"
 

Detailed Description

Provides the constants needed for component.

Variable Documentation

◆ __all__

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

Definition at line 76 of file const.py.

◆ __dir__

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

Definition at line 73 of file const.py.

◆ __getattr__

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

Definition at line 72 of file const.py.

◆ _DEPRECATED_DEVICE_CLASS_DEHUMIDIFIER

homeassistant.components.humidifier.const._DEPRECATED_DEVICE_CLASS_DEHUMIDIFIER
private
Initial value:
1 = DeprecatedConstant(
2  "dehumidifier", "HumidifierDeviceClass.DEHUMIDIFIER", "2025.1"
3 )

Definition at line 51 of file const.py.

◆ _DEPRECATED_DEVICE_CLASS_HUMIDIFIER

homeassistant.components.humidifier.const._DEPRECATED_DEVICE_CLASS_HUMIDIFIER
private
Initial value:
1 = DeprecatedConstant(
2  "humidifier", "HumidifierDeviceClass.HUMIDIFIER", "2025.1"
3 )

Definition at line 48 of file const.py.

◆ _DEPRECATED_SUPPORT_MODES

homeassistant.components.humidifier.const._DEPRECATED_SUPPORT_MODES
private
Initial value:
1 = DeprecatedConstantEnum(
2  HumidifierEntityFeature.MODES, "2025.1"
3 )

Definition at line 67 of file const.py.

◆ ATTR_ACTION

string homeassistant.components.humidifier.const.ATTR_ACTION = "action"

Definition at line 34 of file const.py.

◆ ATTR_AVAILABLE_MODES

string homeassistant.components.humidifier.const.ATTR_AVAILABLE_MODES = "available_modes"

Definition at line 35 of file const.py.

◆ ATTR_CURRENT_HUMIDITY

string homeassistant.components.humidifier.const.ATTR_CURRENT_HUMIDITY = "current_humidity"

Definition at line 36 of file const.py.

◆ ATTR_HUMIDITY

string homeassistant.components.humidifier.const.ATTR_HUMIDITY = "humidity"

Definition at line 37 of file const.py.

◆ ATTR_MAX_HUMIDITY

string homeassistant.components.humidifier.const.ATTR_MAX_HUMIDITY = "max_humidity"

Definition at line 38 of file const.py.

◆ ATTR_MIN_HUMIDITY

string homeassistant.components.humidifier.const.ATTR_MIN_HUMIDITY = "min_humidity"

Definition at line 39 of file const.py.

◆ DEFAULT_MAX_HUMIDITY

int homeassistant.components.humidifier.const.DEFAULT_MAX_HUMIDITY = 100

Definition at line 42 of file const.py.

◆ DEFAULT_MIN_HUMIDITY

int homeassistant.components.humidifier.const.DEFAULT_MIN_HUMIDITY = 0

Definition at line 41 of file const.py.

◆ DOMAIN

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

Definition at line 44 of file const.py.

◆ MODE_AUTO

string homeassistant.components.humidifier.const.MODE_AUTO = "auto"

Definition at line 21 of file const.py.

◆ MODE_AWAY

string homeassistant.components.humidifier.const.MODE_AWAY = "away"

Definition at line 16 of file const.py.

◆ MODE_BABY

string homeassistant.components.humidifier.const.MODE_BABY = "baby"

Definition at line 22 of file const.py.

◆ MODE_BOOST

string homeassistant.components.humidifier.const.MODE_BOOST = "boost"

Definition at line 17 of file const.py.

◆ MODE_COMFORT

string homeassistant.components.humidifier.const.MODE_COMFORT = "comfort"

Definition at line 18 of file const.py.

◆ MODE_ECO

string homeassistant.components.humidifier.const.MODE_ECO = "eco"

Definition at line 15 of file const.py.

◆ MODE_HOME

string homeassistant.components.humidifier.const.MODE_HOME = "home"

Definition at line 19 of file const.py.

◆ MODE_NORMAL

string homeassistant.components.humidifier.const.MODE_NORMAL = "normal"

Definition at line 14 of file const.py.

◆ MODE_SLEEP

string homeassistant.components.humidifier.const.MODE_SLEEP = "sleep"

Definition at line 20 of file const.py.

◆ SERVICE_SET_HUMIDITY

string homeassistant.components.humidifier.const.SERVICE_SET_HUMIDITY = "set_humidity"

Definition at line 56 of file const.py.

◆ SERVICE_SET_MODE

string homeassistant.components.humidifier.const.SERVICE_SET_MODE = "set_mode"

Definition at line 55 of file const.py.