core icon indicating copy to clipboard operation
core copied to clipboard

Sensor from Tibber integration has no longer a state class

Open radhoo2k10 opened this issue 1 year ago • 9 comments

The problem

image

What version of Home Assistant Core has the issue?

2024.10.1

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

Tibber

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tibber/

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

radhoo2k10 avatar Oct 10 '24 10:10 radhoo2k10

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

Code owner commands

Code owners of tibber can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign tibber Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tibber documentation tibber source (message by IssueLinks)

home-assistant[bot] avatar Oct 10 '24 10:10 home-assistant[bot]

I have the same issue

dajomu1 avatar Oct 10 '24 16:10 dajomu1

Same here

osaether avatar Oct 10 '24 18:10 osaether

Very same here.

KptnHaddock avatar Oct 12 '24 10:10 KptnHaddock

Same error here.

LightBringer81 avatar Oct 14 '24 19:10 LightBringer81

Me also, I guess everyone who uses this integration ...

image

dennidoubles avatar Oct 15 '24 16:10 dennidoubles

Same

miljume avatar Oct 17 '24 11:10 miljume

Same issue. Given that current attributes are:

unit_of_measurement: SEK
device_class: monetary
friendly_name: Home Monthly cost

and what the documentation states, I would expect the attributes to be

unit_of_measurement: SEK
device_class: monetary
state_class: total_increasing
last_reset: 2024-10-01T00:00:00
friendly_name: Home Monthly cost

Since the value is reset monthly it is something that the integration must set.

cbarreholm avatar Oct 17 '24 19:10 cbarreholm

Same issue. Sensor for monthly cost seems to be missing state_class: total_increasing. I can't add It manually. Needs to be added in integration.

Rawen76 avatar Oct 19 '24 22:10 Rawen76

Duplicate of https://github.com/home-assistant/core/issues/127363

Danielhiversen avatar Oct 20 '24 18:10 Danielhiversen

In "127363 there is a comment to make a separate issue for the Tibber-problem, and in this separate issue, it's closed as a duplicate of the other one? What is the solution here @Danielhiversen ?

MortenCB avatar Nov 16 '24 14:11 MortenCB