andrew-codechimp / HA-Battery-Notes

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

Exclude Shelly H&T if powered by USB and not by battery #1673

Closed chemelli74 closed 2 months ago

chemelli74 commented 2 months ago

Checklist

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

SSIA

Describe the solution you'd like

Exclude Shelly H&T if USB powered

Describe alternatives you've considered

Manual excluding the device, but if in future you switch to battery you easily forget to re-enable it

Additional context

-

andrew-codechimp commented 2 months ago

The way others have got around this multiple power source issue is to have the library with a MANUAL battery type, that way it won't get discovered and people can add it manually and put USB or battery type depending. I'll update the library to this, I don't have one of these myself so didn't know it was dual power.