You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have filled out the issue template to the best of my ability.
This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
This issue is not a duplicate issue of currently previous issues..
Describe the issue
A warning appears in the logfile of HA after reboot about unit of measure.
Not really important as all works fine. I do not understand the complaining of HA as L/h is the UoM of the flow rate.
Warning message:
2024-12-27 16:08:10.097 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.heatpump_flowmeter_flowrate (<class 'custom_components.quatt.sensor.QuattSensor'>) is using native unit of measurement 'L/h' which is not a valid unit for the device class ('volume_flow_rate') it is using; expected one of ['ft³/min', 'L/min', 'mL/s', 'm³/h', 'gal/min']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/marcoboers/home-assistant-quatt/issues
Reproduction steps
In my case: Reboot HA and it is one of the first entries in the logfile
...
Debug logs
Not needed(?), this is about a warning log entry
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered:
I have the same in logging. It is the result of Home Assistant doing a metrics rework. L/h now has become m3/h.
I haven't seen an announcement yet when they stop supporting the old metrics like L/h.
The reason for this error to appear is that since the latest release the flow meter uses the proper device class.
So effectively this addmon needs to convert Litres/hour to litres/minute and use the proper unit for that sensor.
This is the affecting PR https://github.com/marcoboers/home-assistant-quatt/pull/137/files
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Checklist
Describe the issue
A warning appears in the logfile of HA after reboot about unit of measure.
Not really important as all works fine. I do not understand the complaining of HA as L/h is the UoM of the flow rate.
Warning message:
2024-12-27 16:08:10.097 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.heatpump_flowmeter_flowrate (<class 'custom_components.quatt.sensor.QuattSensor'>) is using native unit of measurement 'L/h' which is not a valid unit for the device class ('volume_flow_rate') it is using; expected one of ['ft³/min', 'L/min', 'mL/s', 'm³/h', 'gal/min']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/marcoboers/home-assistant-quatt/issues
Reproduction steps
...
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: