dwyl/smart-home-auth-server

Locks aren't implemented with a mode through GUI

Opened this issue · 1 comments

While testing the new lock GUI for RBAC, I noticed that new locks aren't set a default mode, resulting in the error:

16:08:04.856 [info] Unimplemented mode: nil/Lock not configured

This should be an easy fix.

Through the API this works fine.

We still do some computation on the lock with this, I think this would be a good opportunity to refractor the "unlock" code to be more centralised and controlled by the hub