After installing Device-tools, I create a device with 3 entities (Binary.sensor; sensor.temperature; sensor.power).
Everything run ok until I change the device Area from empty to existing Area like "basement".
After that the device show as an empty device with no entities added, and the original entities also disappeared from HA.
I was forced to restore a backup from yesterday to regain the lost original entities.
I was able to reproduce this bug. Restarting Home Assistant after changing the device's area brings back the entities. I will look into this anyway and try to prevent it from happening at all.
After installing Device-tools, I create a device with 3 entities (Binary.sensor; sensor.temperature; sensor.power). Everything run ok until I change the device Area from empty to existing Area like "basement". After that the device show as an empty device with no entities added, and the original entities also disappeared from HA. I was forced to restore a backup from yesterday to regain the lost original entities.