hd-lock
A lock that locks and unlocks with a springy motion (the shackle drops in and bounces, swings open). While busy the shackle wiggles; when a busy lock ends where it began (refused, or never answered) it shakes.
| Attribute | What it is |
|---|---|
locked | true is locked, false unlocked; a change plays the motion. Or a live capability of any device, followed: {{ settings.x.cap.onoff }}.Default true. |
busy | A command is on its way to the Homey. |
size | CSS size, e.g. 48px; or set --size.Default 1em. |
label | Accessible label; otherwise “Locked” or “Unlocked”. |
<hd-lock locked="{{ cap.locked }}" size="48px"></hd-lock>