[Garadget] NullPointerException when calling getDevices
9037568 opened this issue · comments
In the community thread "Garadget binding error", the binding throws a null pointer exception when calling the getDevices() method.
Investigation eventually revealed that this occurs because the binding starts its polling loop even when its login has failed.
Expected Behavior
Binding should not start the polling loop if login is not successful.
Current Behavior
Binding starts the polling loop without regard to the status of the login.
Possible Solution
PR forthcoming