puttyman / hass-amplifi

A home assistant integration for Ubiquiti Amplifi
27 stars 16 forks source link

How can I make a list of connected devices? #25

Closed Flashlab2 closed 2 months ago

Flashlab2 commented 1 year ago

I would like to have a list of devices connected to Amplifi in my HA dashboard. The documentation seems to hint that this is possible. I do see a list of entities created by the Integration but by default most of them are disables. So I manually enabled some of them and I can check status for them but I would like to have the list of all connected devices updated automatically if possible.

And it would then be really neat if I could get a notification if a new device connects to my Amplifi.

Is this possible?

plesetsk commented 1 year ago

Hi you can use this template

{{states.device_tracker | selectattr('entity_id', 'match', 'device_tracker.amplifi.*') | selectattr('state', 'eq', 'home') | map(attribute='name') | list }}

Flashlab2 commented 1 year ago

Thanks this works!

hawksj commented 2 months ago

Closing as answered