Skip to content
raman325 edited this page Aug 24, 2026 · 3 revisions

WIP!

Lock Code Manager allows you to manage users for a single lock or a group of locks. The only requirement is that each underlying code slot on a lock is managed by at most one config entry.

Let's say you have the following locks: lock.lock_1 lock.lock_2

You could have one config entry managing some users on lock.lock_1 and lock.lock_2, and a second config entry managing additional users on the same locks. You never pick slot numbers — Lock Code Manager reads each lock and assigns every user to a free slot — and the config flow refuses any change that would have two config entries manage the same slot on the same lock.

If you are trying to figure out how to automate lock codes for a rental property, see Managing guests and rentals — it covers the two patterns (rotating a standing user versus adding and removing one per guest), which to pick, and how to drive either from a calendar. The two-config-entry split described above is one of the options it discusses: one entry for the permanent PINs you and your staff use, another for the temporary ones you hand to guests.

While setting this up will definitely require some work, the integration is designed to maximize flexibility and give you as much control as possible.

Clone this wiki locally