Purpose of "deleted_devices" in core.device_registry and tmp files

Hi,

I am trying to clean up some old stuff in my config and came across two locations where I found orphaned data: One is the “deleted_devices” section in core.device_registry and the others are some “tmp<random_string>” files. Both are in .storage and I was wondering what their purpose was and if it’s safe to delete them.

Thanks,
Julian