iRayanKhan/homebridge-tuya

HomeKit Groups get removed when Homebridge restarts

Opened this issue · 0 comments

Checklist

  • [ X] I have read the common issues wiki page
  • [X ] I have checked to make sure the plugin is up to date

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):

  • OS: macOS
  • iOS version: 17.5.1
  • Homehubs: HomePod Mini
  • Node Version: 16.16.0
  • Plugin Version: 1.5.0
  • Accessory Type: Light

Additional context
Add any other context about the problem here.