mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Use Volume Flow Rate device class in Opentherm gw (#113531)
This commit is contained in:
parent
b6a06f49b7
commit
422d4ea5b3
@ -12,7 +12,7 @@ from homeassistant.const import (
|
||||
UnitOfPressure,
|
||||
UnitOfTemperature,
|
||||
UnitOfTime,
|
||||
UnitOfVolume,
|
||||
UnitOfVolumeFlowRate,
|
||||
)
|
||||
|
||||
ATTR_GW_ID = "gateway_id"
|
||||
@ -310,8 +310,8 @@ SENSOR_INFO: dict[str, list] = {
|
||||
[gw_vars.BOILER, gw_vars.THERMOSTAT],
|
||||
],
|
||||
gw_vars.DATA_DHW_FLOW_RATE: [
|
||||
None,
|
||||
f"{UnitOfVolume.LITERS}/{UnitOfTime.MINUTES}",
|
||||
SensorDeviceClass.VOLUME_FLOW_RATE,
|
||||
UnitOfVolumeFlowRate.LITERS_PER_MINUTE,
|
||||
"Hot Water Flow Rate {}",
|
||||
SENSOR_FLOAT_SUGGESTED_DISPLAY_PRECISION,
|
||||
[gw_vars.BOILER, gw_vars.THERMOSTAT],
|
||||
|
Loading…
x
Reference in New Issue
Block a user