core icon indicating copy to clipboard operation
core copied to clipboard

Derivative sensor lost its UoM

Open ildar170975 opened this issue 3 years ago • 14 comments

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

ildar170975 avatar Dec 16 '22 06:12 ildar170975

Hey there @afaucogney, mind taking a look at this issue as it has been labeled with an integration (derivative) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of derivative can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign derivative Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


derivative documentation derivative source (message by IssueLinks)

home-assistant[bot] avatar Dec 16 '22 06:12 home-assistant[bot]

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Confirmed to be still an issue in 2023.3.4.

michaelarnauts avatar Mar 16 '23 12:03 michaelarnauts

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

up

ildar170975 avatar Jun 14 '23 14:06 ildar170975

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

up

ildar170975 avatar Sep 14 '23 09:09 ildar170975

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

up

ildar170975 avatar Dec 13 '23 11:12 ildar170975

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

up

ildar170975 avatar Mar 18 '24 20:03 ildar170975

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Up

ildar170975 avatar Jun 18 '24 20:06 ildar170975

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

up

ildar170975 avatar Sep 17 '24 12:09 ildar170975

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

up

ildar170975 avatar Dec 23 '24 01:12 ildar170975

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

up

ildar170975 avatar Mar 23 '25 03:03 ildar170975

I'd be curious to look at this, but can you give any more information?

Did the unit ever come back after it disappeared? Did it disappear in connection with any event that you can recognize? A system restart, an unavailable state, etc?

karwosts avatar Jun 24 '25 14:06 karwosts

Last time I checked it on March. Will retest it.

ildar170975 avatar Jun 24 '25 14:06 ildar170975