Where should the ui-lovelace.yaml file be located?

I know this has been answered before - but as a beginner into raspberry, linux and homeassistant, I still have a problem understanding the answers.

I run homeassistant on a raspberry pi, with 2 user accounts: one is the default pi and the other is called homeassistant. The homeassistant code has been installed using the homeassistant user.

I have added the lines

lovelace:
  mode: yaml

to the configuration.yaml file located in /home/homeassistant/.homeassistant folder, and after a re-boot this resulted in the ui to change to a raw default content, with all cards and badges visible. So far so good.

Now, in some places it is stated that the ui-lovelace.yaml file should be located in the folder, but what does that mean ? Is it the hidden folder in /home/homeassistant/.config ? Because I placed it there, and it does not make any difference.
Other answers claims that it should be located in the .storage folder, but I have tried this as well (/home/homeassistant/.homeassistant/.storage), and still with no difference to the shown user interface.

It goes in the same folder as configuration.yaml.

A lot of people are maintaining their lovelace views using the gui now, and it’d getting better all the time. If you do that you don’t need a ui-lovelace.yaml file. In that case the conf.g gets put, by home-assistant, into .storage.

Of course, it turns out to be so simple :slight_smile: Thx for the solution.

I want to experiment with customising the cards, sine I miss some functionality in the Sonos player card - and it seems tha this is not possible in the gui editor.