Derivative sensor ignores time unit
segdy opened this issue · 0 comments
segdy commented
The problem
I have a source sensor with units kWh. I am using the derivative sensor to generate a power estimate. The desired output unit would be kW. Yet, it is kWh/s, no matter how I set time unit or metric prefix:
As can be seen, I have the time unit set to hour, so at the very least the unit should be kWh/h. But ideally, it should shorten to kW.
What version of Home Assistant Core has the issue?
core-2024.10.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response