Closed HewittJC closed 4 months ago
Message that will be displayed on users' first issue
@HewittJC feel free to submit this in a pull request if you have not already, would love the contribution!
Actually it looks like this is already fixed: https://github.com/jfarmer08/homebridge-wyze-smart-home/blob/6af83083f6ffbca90d6d008a65f957ae9c21df64/src/WyzeSmartHome.js#L228 #
Describe The Bug: When the
configureAccessory
is called to check if accessories are setup already it can fail to do theunregisterPlatformAccessories
call. This failure is typically handled gracefully by thetry..catch
but there is a typo in thecatch
block.To Reproduce: I believe the issue stemmed from having a Wyze Lock Bolt on my account, it doesn't know how to handle this device for multiple reasons, but I mainly think because it has no MAC address.
Expected behavior:
Logs:
Plugin Config:
Environment:
oznu/homebridge:ubuntu
imageFix:
This can be fixed by replacing the following line:
To:
Notice the
device
-->homeKitAccessory
change at the start of the.error()