and as part of that Unifi broke, so deleted it and re-added it using the GUI integration.
My question is, I had to put username and password into there as I could not use the secrets.yaml file, so where is that username and password now stored? I sort of expected the GUI integration to add code to my config file, which I could then edit and put the secrets back in but it doesnt, so where are the unifi details now and do I need to worry about secrets for integrations added through the GUI?
Making changes in the GUI will not edit the config yaml. Changes made in the interface modify the files located in the .storage directory, but those should not be edited while the system is running. I don’t think you have to worry about secrets for integrations added through the GUI.