Cannot add energy sensor in energy wizard

I try to switch from Home assistant core to home assistant docker.

A lot is going well, but I have some problems with the energy dashboard. Because it did not show my energy history, and I had to reinstall some integrations like dsmr, I deleted the .storage/energy file.
This made HA show up the energy wizard.
But when I want to enter a sensor under Net-usage or energy return (I have HA in dutch), No sensor show up. When I paste in a sensor like: “sensor.electricity_meter_energy_consumption_tarif_1”, I’m not able to save this configuration.
What is wrong here? Is this a permissions issue?

I start docker with:

docker run -d \
  --name homeassistant \
  --privileged \
  --restart=unless-stopped \
  -e TZ=Europe/Amsterdam \
  -e PUID=1000 \
  -e PGID=1000 \
  -v /home/bart/hass:/config \
  -v /run/dbus:/run/dbus:ro \
  -v /etc/localtime:/etc/localtime:ro \
  --network=host \

Docker is running as normal user uid 1000 on Ubuntu server.
Anyone knows how to solve this?

 Home Assistant 2023.5.4 
Frontend-versie: 20230503.3 - latest 

I did chown -R 1000:1000 /home/bart/hass

I don’t know how, but after a reboot I’m able to enter a sensor. So it is solved!

Most likely you destroyed the energy history and only sensors with a energy history can be added, so you just needed a bit of patience for the sensors to have reported in.
The energy board even state this in a note on the page.