Hi there,
to make a long story short, tried incorporating an unsupported tuya sensor and got the core.device_registry corrupted. My coding skills are not enough to troubleshoot it (stopped at something related to character encoding) so I decided to restore a backup.
I run HA in a virtualbox VM, so restoring is a matter of copying the files.
Bu then I’ve noticed that history is gone. IO use MariaDB as a repository and all history is not there.
Any suggestions?