Open Kane610 opened 5 months ago
I was thinking to add this. Not sure how to approach it.
Should we have a property that returns the number of clients connected to the device? Maybe one for wired and one for wireless?
There is already an API for getting all client and all active clients. So we could add a sensor that counts number of clients
We could use the active clients.
It would be something similar to https://github.com/home-assistant/core/blob/e4a3cab801ded3065c49963e4c777487c74e126b/homeassistant/components/unifi/sensor.py#L294
https://community.home-assistant.io/t/unifi-see-number-of-clients-connected-to-ap/682354/3