andrew-codechimp / HA-Battery-Notes

A Home Assistant integration to provide battery notes of devices
MIT License
529 stars 92 forks source link

Possibility to indicate the rechargeability #114

Closed 4D4M-Github closed 10 months ago

4D4M-Github commented 10 months ago

Checklist

Is your feature request related to a problem? Please describe.

I use a mix of rechargeable and disposable batteries, and although I can usually tell which one I'm using by the instantaneous voltage, it would be handy if this could be included in the integration.

Describe the solution you'd like

There could be an attribute in the integration item that could be checked to indicate that the device currently has a battery that can be charged (e.g. CR2450/LIR2450, CR2032/ML2032 etc.)

Describe alternatives you've considered

I can also imagine a way to have multiple optional batteries associated with a given type of device, but that would probably require a more labour-intensive or more sofisticated solution at the moment.

Additional context

I may be the only one in the world who has a problem with using disposable (albeit less self-discharging) batteries, so I'd be happy to have someone to partner with me on the idea (:

andrew-codechimp commented 10 months ago

Where I use rechargeable batteries I suffix an (r) on the end of the note to remind me e.g. 2x AA(r). Not sure how this could be done automatically.

4D4M-Github commented 10 months ago

It hadn't occurred to me that this should be automated, although the initial voltage makes it obvious in general. I was only thinking of a manual switch, but I can live with your solution.

andrew-codechimp commented 10 months ago

I'll close this for now, I don't want to introduce too much clutter against a device but will always revisit if I can find good reasons to do so.