Internet connection loss error

Friends, a query, I have HA OS mounted on Raspberry pi 4. But I don’t have an internet connection, so the variables that I want to manipulate, I manipulate them locally.

The problem is that I also have variables which I want to visualize how they have behaved over time (temperature, humidity, luminosity, etc…).

It seems that not having internet connection is a problem because history and logs are not stored.

Has this happened to you?? What do you recommend to avoid this error.

If you look at the photos, I can’t enter FILE EDITOR because I don’t have internet on the raspberry.!!