mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Use Volume Flow Rate device class in BTHome (#113530)
This commit is contained in:
parent
98132d1cd3
commit
066594b25b
@ -334,6 +334,7 @@ SENSOR_DESCRIPTIONS = {
|
||||
Units.VOLUME_FLOW_RATE_CUBIC_METERS_PER_HOUR,
|
||||
): SensorEntityDescription(
|
||||
key=f"{BTHomeSensorDeviceClass.VOLUME_FLOW_RATE}_{Units.VOLUME_FLOW_RATE_CUBIC_METERS_PER_HOUR}",
|
||||
device_class=SensorDeviceClass.VOLUME_FLOW_RATE,
|
||||
native_unit_of_measurement=UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user