-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unifi won't let me reconfigure item in "Failed to set up" state with error "UniFi integration is not set up" #117742
Comments
Hey there @Kane610, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) unifi documentation |
I have a previously working integration and now it says my authentication is expired. I alwas log in with my local user |
Same here, 2FA activated. |
Hello, the configure button is to set the integration options like what entities you want created. The Reauthentication flow would solve this which was introduced to the framework two months ago but is currently not supported by the integration. What you can do in the mean time is you can manually edit the config entry (make a backup first), by going to .storage/core.config_entries and edit username and password there How to properly create a local user see https://community.home-assistant.io/t/ubiquiti-unifi-network-add-on-integration/678411/17?u=robban |
Cheers, useful hint. Quick question. Why did HA let me change the username/password for one of them (both using the same original login that had 2FA enabled) using an inbuilt config window? |
Thanks, worked for me. Created a additional local admin on the controller. Didn't need to manually edit the config files, the HA assistent for reauthentication worked. |
Yes the integration can prompt for a reconfiguration, but there is also a new way as a user to manually trigger a reauthentication flow |
The problem
I originally setup the unifi integration using a non local user, and now enabling 2FA has broken the HA access to it. That's fine, and is completely understandable.
However, when I try and use "Configure" to change/update the credentials in HA, I get an unhelpful error message of "UniFi integration is not set up"
For the other entry (FTC CK) it did let me enter new credentials, and updated fine.
I can presumably delete the existing entry, and re-add it. Or temporarily disable 2FA on the UI side, let the auth reconnect on HA, and then update to a local user...
But I should be able to able to configure entry from the menu for the other device, in the same way as I did for the first one...
What version of Home Assistant Core has the issue?
core-2024.5.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
unifi
Link to integration documentation on our website
https://www.home-assistant.io/integrations/unifi
Diagnostics information
home-assistant_unifi_2024-05-19T18-48-20.907Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: