Closed dominikamann closed 1 year ago
Hey there @balloob, @bieniu, @thecode, @chemelli74, @bdraco, mind taking a look at this issue as it has been labeled with an integration (shelly
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
shelly documentation shelly source (message by IssueLinks)
The temperature and humidity sensors have the correct state_class
for both devices.
Are you sure you are using core integration, not custom one?
Hi, thank you for your answer. I am pretty sure that i use the offical integration. Iam running home assistant since years. May it was a migration issue? Attached some screenshots. Do you need more data or details?
Hi,
cannot reproduce the issue with my H&T and TRV.
But I see exactly the same behavior with my DW2. If you have a DW2 and it doesn't show the error, I bet is some kind of race coming from the core in showing the info.
Simone
@dominikamann can you try to remove and re-add one of the devices with the wrong state class? we had a problem with this in the past which was fixed.
Seeing the same thing with a couple of Shelly devices specifically a button1 and an HT sensor. I removed the statistics using the UI, then reloaded the (core) integration for the impacted devices, again on the HA UI, (not restarted HA or removed any devices) and that appears to have removed the error message for now from the dev->statistics panel at first sight.
@dominikamann if you still have issues after removing and adding the device please report back. Thanks 👍
@thecode Sorry for the late reply. Deleting and adding the device helped. I have about ~50 Shelly's ... that would be a lot of work. But it seems to help if I delete the statistic error messages. For some sensors the error did not appeared again. Thanks for your help.
The problem
The Shelly H&T and Shelly TVR Sensor/Devices provides temperature & humidity values. For these entities a wrong or no state class is configured. This leads to an error in HA Statistics. Please fix the Shelly Integration and set the correct state class. Thanks!
Home Assistant 2022.12.5 Supervisor 2022.11.2 Operating System 9.4 Frontend 20221213.0 - latest
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 OS
Integration causing the issue
Shelly
Link to integration documentation on our website
https://www.home-assistant.io/integrations/shelly/
Diagnostics information
-
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
-