Currently if you're relying on a password being fetched from your user account, but the serial number you've entered doesn't match anything on your account, the plugin will cause homebridge to crash and provide no information on what went wrong.
This PR prevents the crash and shows an error message with a list of serial numbers that are registered to your account, so the configuration can be easily corrected.
Currently if you're relying on a password being fetched from your user account, but the serial number you've entered doesn't match anything on your account, the plugin will cause homebridge to crash and provide no information on what went wrong.
This PR prevents the crash and shows an error message with a list of serial numbers that are registered to your account, so the configuration can be easily corrected.