Description
The problem
There is a derivative sensor for a HA DB size:
sensor:
- platform: derivative
source: sensor.home_assistant_v2_db_size
name: sys_db_size_change_per_5minutes
round: 0
unit_time: h
time_window: "00:05:00"
Here is a current state of the sensor.home_assistant_v2_db_size
sensor:
It's Uom is "MB".
So I expect to have "MB/h" as a UoM for the derivative sensor.
But currently UoM is not defined for the sensor:
But a few days ago there was displayed a proper UoM in the Entities card with this sensor.
Now the UoM disappeared.
May be this is important - recently the sensor.home_assistant_v2_db_size
sensor's state stopped changing (which is expected - no new entities are created). So the derivative's value is expected to be ZERO - which is NOT observed:
What version of Home Assistant Core has the issue?
2022.12.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
derivative
Link to integration documentation on our website
https://www.home-assistant.io/integrations/derivative/
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