Kane610 / aiounifi

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

Add Support to un-/Block WLAN devices #612

Closed PatrickOnGit closed 6 months ago

PatrickOnGit commented 7 months ago

Having older kids it would be great to block and unblock WLAN (phone) devices during night. This is off course no security nor educational feature. There might be other good reasons to block or unblock a device.

Thank you for thinking about it

Kane610 commented 6 months ago

Great suggestion! As it happens this feature is already supported in Home Assistant 🎉

https://www.home-assistant.io/integrations/unifi/#block-network-access-for-clients

Just go into configure options on you unifi integration and select what clients you want entities for (the following pages with more detailed selections will be removed for this simpler configuration) and you should get block/unblock switches for you selected clients and additional entities as well.