The Unifi integration currently provides a QR code for WiFi access. Could you also include an option to display the WiFi password in plain text? This would be useful for devices that cannot scan QR codes.
No, that will not be allowed, there was a suggested implementation on it (Add UniFi WLAN Password sensor by brunohenriquy · Pull Request #114419 · home-assistant/core · GitHub) but was decided it was to be removed again (Remove sensor exposing UniFi WLAN password by Kane610 · Pull Request #115929 · home-assistant/core · GitHub)
Workaround:
I have implemented this with the node-red integration by retrieving the WLAN config for the guest network, extracting the password and populating a next entity with it. Works like a charm.
In more detail:
In node-red I trigger on the state change of the QR code in HA, then retrieve the Wifi details with “WLANSettings”, extract just the password and populate a text entity with it. Happy to share the flow if someone is interested.
I am then displaying this on a Shelly Wall display for guests along with a voucher code:
it would be a great feature for using it in the QR Code page on the “NSPanel Configuration via Blueprint”