Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.07 KB

lock.md

File metadata and controls

23 lines (17 loc) · 1.07 KB

Lock

Card type custom:houseview-lock-card, or type: lock in the cards list of custom:houseview-card. Available since 1.0.

Shows a lock.* entity as an icon widget with its name and state. The icon is an open padlock while the lock is unlocked and a closed one otherwise. A tap locks an unlocked door and unlocks a locked one; unlocking asks "Unlock this door?" first. While the lock is in any other state (locking, unlocking, jammed, open, ...) a tap opens the more-info dialog instead of sending a command. An unavailable or unknown lock is shown disabled.

Option Type Default Description
entity entity required A lock.* entity
name string friendly name Label
size normal/wide/tall/large normal Widget size on carousel pages
icon icon mdi:lock / mdi:lock-open Override the icon. A name without a prefix is an mdi: icon
type: custom:houseview-lock-card
entity: lock.front_door