-
-
Notifications
You must be signed in to change notification settings - Fork 18
Advanced Usage
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.
Getting Started
UI
- Add a UI for lock code management — overview & decision guide
- UI Strategies
- Custom Cards
Features
- Managing Guests and Rentals
- Services and Actions
- Blueprints
- Tracking lock state change events
- Using Condition Entities
- Unsupported Condition Entities
Advanced
Development
Troubleshooting
FAQ
Supported Integrations