-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Battery Level -> state differs from attribute #51
Comments
The "Sure Petcare" HA addon is able to display the battery levels. Can confirm that they are broken in Sure HA If you want to add them back, you can use template helpers. Helpers - Template -> sensor. This will get you the bettery percentage for graphs or automations (need to change those though) |
The problem here is, that the package you install via HACS has an older code base. So I would recommend to update the files with the ones provided here then, you should see the battery value (without a unit of measurement) ... and it is reporting a different value than the attribute (as you can see in my screenshots)... BUT: With the files replaced, you will also get some deprication warnings in HomeAssistant with the 2024.1. release... The major problem here is, that it seems, that:
Right now, I am using this integration + the core integration in parallel, since the core integration does provide LOCK entities... I would consider, to refactor the code - according to the HA documentation some information given in the attributes should be their own sensors... Yet - I was not able to dive into the code deep enough to provide more changes than the submitted PRs for compatibility with the upcomming 2024.1 Version of HA. |
How is that possible when the version on HACS is the 0.4.2 version that is on here? |
I can't explain how it is possible, but it is also mentioned here: #31 |
The State of the Battery Entity is different to the attribute "battery level"
Also, the for the state the UnitOfMeasurement is missing.
The text was updated successfully, but these errors were encountered: