A lock entity is a device which is able to lock and unlock. Locking and unlocking can optionally be secured with a user code. Some locks also allow for opening of latches, this may also be secured with a user code.
Properties should always only return information from memory and not do I/O (like network requests). Implement
async_update() to fetch data.
|changed_by||string||None||Describes what the last change was triggered by.|
|code_format||string||None||Regex for code format or None if no code is required.|
|is_locked||bool||None||Indication of whether the lock is currently locked. Used to determine |
Supported features constants are combined using the bitwise or (
|This lock supports opening the door latch.|
Only implement this method if the flag
SUPPORT_OPEN is set.