custom:appliance-smart-lock-card
A motorised smart lock (Nuki, Yale Linus or any lock entity) mounted on the inside of the door. Three models (model):
| Model | Look |
|---|---|
nuki_3_pro (default) |
Nuki Smart Lock 3.0 Pro: cut-out photo, white body and stainless knob |
nuki_pro_5 |
Nuki Smart Lock Pro (5th generation): cut-out photo of the stainless and white cylinder |
yale_linus |
Yale Linus: cut-out photo of the black lock, with its lever on the top circle and the Yale logo on the bottom one. The LED ring and the waves come from the bottom circle, the turning arrows from the top one |
Animations: the lock stands on a soft halo in the state colour (green locked, orange unlocked, blue unlatched, red jammed). The LED ring takes the same colour and its segments turn while the motor runs, the knob’s reflections turn with the key, waves leave the knob when unlatched and the padlock’s shackle lifts. A small door icon appears when the door sensor reports the door open. Jammed: the lock shakes and a warning sign blinks. Low battery: a battery pictogram blinks.
Buttons Lock / Unlock / Unlatch (lock.lock, lock.unlock, lock.open, or entity_unlatch if set). Unlatch asks for a second click within 4 s (confirm_open: false to turn this off) and is only shown if the lock supports it. Optional Lock ‘n’ Go buttons. Tiles: battery (%, charging, critical), door sensor, last change.
type: custom:appliance-smart-lock-card
model: nuki_pro_5
entity: lock.porte_entree
entity_unlatch: button.porte_entree_unlatch # optional
entity_lock_n_go: button.porte_entree_lock_n_go # optional
entity_lock_n_go_unlatch: button.porte_entree_lock_n_go_with_unlatch # optional
entity_battery: sensor.porte_entree_battery
entity_battery_charging: binary_sensor.porte_entree_battery_charging # optional
entity_battery_critical: binary_sensor.porte_entree_battery_critical # optional
entity_door: binary_sensor.porte_entree_door # optional (door sensor)
Options: name, color (colour marker: bar on the left edge + dot before the title, to tell several locks apart; [r,g,b] or "#1e88e5"), color_locked / color_unlocked / color_jammed / color_locking / color_unlocking / color_open (colour of the halo, LED ring and badge for that state, overrides the theme colours; [r,g,b] or "#0fa050"), labels, illustration_size, transparent, battery_low (20 %), confirm_open, tap_action / hold_action, language, show_status, show_buttons, show_battery, show_door, show_since, animations.