SecKatie / wyzeapy

35 stars 26 forks source link

Raise access token error on invalid credentials #72

Closed brg468 closed 6 months ago

brg468 commented 1 year ago

Right now invalid credentials raises an unknown api error, which is not very helpful in determining why a login failed.

This raises an invalid authentication error and produces a cleaner error in HA instead of the runtime error.