hd-door
A door in its frame for a contact sensor: it swings open on its hinge (past where it stops, and back) with the light of the room beyond showing through, and swings shut with a small bounce. Its colour is the text colour around it. Reduced motion: no swing; e-ink snaps.
| Attribute | What it is |
|---|---|
open | Whether it is open; a change swings it. Or a live capability of any device, followed: {{ settings.x.cap.onoff }}. |
size | Its width (CSS), e.g. 40px; or set --size.Default 40px. |
label | Accessible label; otherwise “Open” or “Closed”. |
<hd-door open="{{ cap.alarm_contact }}" size="40px"></hd-door>