Home Assistant Unofficial Reference 2024.12.1
homeassistant.util.unit_conversion.VolumeFlowRateConverter Class Reference
Inheritance diagram for homeassistant.util.unit_conversion.VolumeFlowRateConverter:
[legend]
Collaboration diagram for homeassistant.util.unit_conversion.VolumeFlowRateConverter:
[legend]

Static Public Attributes

string UNIT_CLASS = "volume_flow_rate"
 
dictionary VALID_UNITS
 

Additional Inherited Members

- Public Member Functions inherited from homeassistant.util.unit_conversion.BaseUnitConverter
float convert (cls, float value, str|None from_unit, str|None to_unit)
 
Callable[[float], float] converter_factory (cls, str|None from_unit, str|None to_unit)
 
Callable[[float|None], float|None] converter_factory_allow_none (cls, str|None from_unit, str|None to_unit)
 
float get_unit_ratio (cls, str|None from_unit, str|None to_unit)
 

Detailed Description

Utility to convert volume values.

Definition at line 656 of file unit_conversion.py.

Member Data Documentation

◆ UNIT_CLASS

string homeassistant.util.unit_conversion.VolumeFlowRateConverter.UNIT_CLASS = "volume_flow_rate"
static

Definition at line 659 of file unit_conversion.py.

◆ VALID_UNITS

dictionary homeassistant.util.unit_conversion.VolumeFlowRateConverter.VALID_UNITS
static
Initial value:
= {
UnitOfVolumeFlowRate.CUBIC_FEET_PER_MINUTE,
UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR,
UnitOfVolumeFlowRate.LITERS_PER_MINUTE,
UnitOfVolumeFlowRate.GALLONS_PER_MINUTE,
UnitOfVolumeFlowRate.MILLILITERS_PER_SECOND,
}

Definition at line 672 of file unit_conversion.py.


The documentation for this class was generated from the following file: