With latest HA version, unifi integration supports images:
Provides QR Code images that can be scanned to easily join a specific WLAN. Entities are disabled by default. This feature requires admin privileges.
Iâm in the same boat. I have the UDMPROSE and can see the new count of clients and the switch to enable/disable the wifi but no entities for QR codes (disabled or otherwise).
Go to unifi integration â Devices. Search for your wifi switch. Under the Diagnostic, select â1 entity not shownâ. And guess what, this not shown entity is the QR code
I was having trouble with this too and then remembered reading something about the Unifi login needing Admin rights in order for any of this to work. I went into my Unifi Controller and changed the Home Assistant user from âread-onlyâ to âadminâ and then restarted Home Assistant. The WLAN switches showed up and the image entity was then available (disabled).
I think itâs a cost vs benefit calculation in this particular case. You can always argue for or against any specific set of permissions based on what youâre looking to accomplish. In general the user account should have exactly the permissions it needs to accomplish their tasks. Getting that granular isnât always something that can be done though. In this case, if you want the Wifi control, you have to elevate the permissions. Canât assign something as âread onlyâ and then expect it to be able to do any more than that. Decision everyone will have to make for themselves. If you donât give the elevated permission you donât get that functionality, which is probably fine for a lot of people.