WebThingsIO / schemas

A Web of Things schema repository
https://webthings.io/schemas/
5 stars 8 forks source link

Replace TargetLockedProperty with LockAction and UnlockAction #60

Closed benfrancis closed 5 years ago

benfrancis commented 5 years ago

After getting closer to implementing this schema, having a LockAction and UnlockAction which update a LockedProperty seems to make more sense than a TargetLockedProperty.

This seems like a good use of actions given locking can take a while to complete and can both succeed and fail, and using actions avoids some strange interplays between LockedProperty and TargetLockedProperty.

benfrancis commented 5 years ago

Closed by #61