8000 Derivative sensor lost its UoM · Issue #84088 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Derivative sensor lost its UoM #84088
@ildar170975

Description

@ildar170975

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:

image

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:

image

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:

image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0