Schuling add/remove lock codes


I would appreciate some pointers on how I could create a custom add-on that lets me schedule adding/removing lock codes through the API. I’m guessing it would have some similarities with

Thank you,

For some info the lock codes via the rest API, see this post: [SOLVED] Schlage Lock add usercode You could probably combine that with the gcal and get what you need?

@jswim788 thank you, yes, I’ve already solved how to add lock code through the API. I’m more looking to automate/schedule this process without building something external to openHAB, rather an add-on or something that runs inside it.