Add L/s (litres per second) as a valid unit of measurement to volume_flow_rate device class #1044
-
The volume_flow_rate device class currently does not support a litres persecond unit of measurement. I have a requirement for a sensor and also dashboard display of volume flow rates in litres per second (L/s). I also note that the SI unit of measurement for volume flow rate is cubic metres per second and this is also not supported. I make use of the modbus integration to obtain my sensor data, and I was alerted to the lack of support for the L/s unit of measurement when reviewing the home-assistant.log file at startup, where the following warning message was given:
The configuration I have for this sensor is:
I would like to see litres per second (L/s) and possibly cubic metres per second (m³/s) added to the set of units_of_measurement for the volume_flow_rate device class please. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Sounds ok to add support for litre per second. Cubic meter per second doesn't sound like it would be used in a home. |
Beta Was this translation helpful? Give feedback.
Yes, all three are ok add. We're now accepting new units where there's a simple conversion for existing device classes without architecture discussion.