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

Variables

 __all__ = all_with_deprecated_constants(globals())
 
 __dir__
 
 __getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
 
 Final
 
dictionary NON_NUMERIC_DEVICE_CLASSES
 

Detailed Description

Constants for sensor.

Variable Documentation

◆ __all__

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

Definition at line 698 of file const.py.

◆ __dir__

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

Definition at line 695 of file const.py.

◆ __getattr__

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

Definition at line 694 of file const.py.

◆ Final

homeassistant.components.sensor.const.Final

Definition at line 72 of file const.py.

◆ NON_NUMERIC_DEVICE_CLASSES

dictionary homeassistant.components.sensor.const.NON_NUMERIC_DEVICE_CLASSES
Initial value:
1 = {
2  SensorDeviceClass.DATE,
3  SensorDeviceClass.ENUM,
4  SensorDeviceClass.TIMESTAMP,
5 }

Definition at line 464 of file const.py.