Monitoring Energy using Energy Intelligence P1 meter (Home Assistant running on Docker Synology NAS DSM 7)

Hey, first of all… I tried to find the correct place to put this thread. Have spent a day googling trying to understand this… Unfortunately failed…

I currenty have a MQTT server fetching data from my Electricity meter. (the smart devide is from Energy Intelligence if that matters).

I have home assistant running in docker on my Synology NAS.

I have managed to add the MQTT integration and I can see the different values from the MQTT server. However when I add the values to the energy tab in Home Assistant I get this message:

Last reset time (last_reset) is missing
The following entities has the class 'measurement but the ‘last_reset’ is missing:

  • sensor.kam5_kam5_energy_active_positive

I have tried looking in the configuration.yaml file. However all that contains is the following:

Loads default set of integrations. Do not remove.

default_config:

Load frontend themes from the themes folder

frontend:
themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

even though I have added the Philips hue integration to control lights and such.

So the guides to modify the configuration file doesnt seem to work for me.

Has anybody got any tips?
Sorry again for what is most likely a very stupid question, but I have spent many hours now trying different solutions but nothing seems to work.