EuleMitKeule / device-tools

Device Tools: Create, modify and merge your Home Assistant devices.
72 stars 6 forks source link

Changing device area requires restart #20

Open ascorria opened 3 weeks ago

ascorria commented 3 weeks ago

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.

EuleMitKeule commented 2 weeks ago

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.