-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE]: Unit kWh not valid for deviceclass power #369
Comments
Thanks, this will be fixed in plugwise-beta v0.34.8, to be released during the coming days. |
If you want to test, please test the prerelease v0.34.8b2, this version contains the fixes. |
Unfortunately I did not have time to check this earlier :( It looks like the previous errors in the log are replaced by different ones:
Also happens after removing and re-adding the integration. |
Ah yes, we have seen this before. |
Couldn't it be total_increasing as mentioned in the logs? Description in developer docs says that is for things like daily amount of gas. I assume these sensors are similar? I think everything with a state_class goes into history |
No it can't. These are all sensors that reset/change up or down after a certain time interval. According to the HA documentation they can be Total or None: https://developers.home-assistant.io/docs/core/entity/sensor#available-state-classes After reading the linked info again I think we should opt for Total. I will look if I can implement/add the |
Yes, I have enabled some of the sensors in my own system. I see the same for the |
Fixed via #376 |
Describe the solution you are looking for
I can't find a template to report a bug so using feature instead. If I need to report it elsewhere please let me know, but since I am using the Stick I suppose it should go here.
Is your feature request related to a problem? (optional)
I just installed the
plugwise-beta
to use my Plugwise Circle(+) with Home Assistant through the stick. It seems to work as expected, but after enabling all sensors I noticed these errors in the Home Assistant logs menu.It seems to indicate that either the unit or deviceclass for some sensors is wrong.
What type of installation are you running?
Home Assistant OS
How did you install plugwise-beta?
HACS
What kind of Plugwise device is having issues?
USB: Stick
What firmware version is your Plugwise product at?
Circle is at 2011-06-27 10:52:18
Circle+ is at 2011-06-27 10:47:37
Stick I don't know as it is not shown as a device in Home Assistant
Your setup
USB stick, Circle+ and Circle
Additional context
No response
The text was updated successfully, but these errors were encountered: