dwyl / smart-home-auth-server

The authorisation server for dwyl/smart-home-security-system
GNU General Public License v2.0
5 stars 1 forks source link

Locks aren't implemented with a mode through GUI #29

Open th0mas opened 4 years ago

th0mas commented 4 years ago

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.

th0mas commented 4 years ago

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