Kane610 / aiounifi

Asynchronous library to communicate with Unifi Controller
MIT License
60 stars 53 forks source link

Clear out large number of unnamed devices #482

Open Kane610 opened 1 year ago

Kane610 commented 1 year ago

https://community.home-assistant.io/t/unifi-integration-large-number-of-unnamed-devices/154759/52

NicoLeOca commented 12 months ago

Hi @Kane610 Thanks for trying to improve the Unifi integration

With regards to the issue about unnamed devices being continuously added to HA, I never saw any proper solutions. However I would like to share an idea with you. Would you be able to add an option to only add in HA devices which are manually set in Unifi?

Kane610 commented 12 months ago

Yes, my thought is to move over to explicit selection of clients, I might add back an add-all option but that will be with the acceptance of issues like this.

PR to select clients https://github.com/home-assistant/core/pull/99483

This will also help adding more entities from clients as the user gets only from a select few.

NicoLeOca commented 12 months ago

thanks for letting me know and for actively working on this integration