iRayanKhan / homebridge-tuya

A Homebridge plugin to control Tuya devices locally.
MIT License
395 stars 165 forks source link

HomeKit Groups get removed when Homebridge restarts #476

Open kylewhirl opened 3 months ago

kylewhirl commented 3 months ago

Checklist

Describe the bug A clear and concise description of what the bug is. Occasionally my computer running homebridge will reboot. When this happens, all tuya accessories in HomeKit that I have created a group with get removed. Devices get removed from scenes and automations. For some reason, the UUID of devices is being change and therefore causes a bunch of issues inside HomeKit.

To Reproduce Steps to reproduce the behavior: Run homebridge tuya plugin Create group and scene in HomeKit Unplug computer Plug in computer Watch as your devices get ungrouped and removed from all scenes and automations

Expected behavior A clear and concise description of what you expected to happen. Devices should maintain UUID, groups, scenes, automations, upon reboot.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.