My devices get deleted when my device service is restarted

I solved the problem. I have no idea whats going wrong but either the configuration.toml was wrong or the device-profile was not correct implemented. i couldnt focus the source of the problem but with a correct configuration it works fine.