Skip to content

Newest version of a device uses a different battery. How to reflect this in the library? #1899

Closed Answered by andrew-codechimp
brystmar asked this question in Q&A
Discussion options

You must be logged in to vote

This is a tricky one and there are a few ways to handle it.

If the manufacturer/model are identical for both revisions we can set the battery type to MANUAL to stop it incorrectly suggesting the wrong battery, you would have to add the devices manually each time and put in your own battery. I have just made this change to stop bad suggestions.

If within the HA device screen there is a hardware version and this differs I can support that with an optional hw_version field in the library, I've only had one device with that so it's not generally publicised yet but will be soon. If there is a hw_version difference please let me know and I'll add the two entries.

With HA version 2024.8 they are…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brystmar
Comment options

Answer selected by brystmar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants