hd-alert
A sensor or alarm that says it went off, with its own icon: motion pings like a radar (then calmly while it still sees movement), smoke, CO and the siren shake and pulse while on, water ripples under a bobbing drop, a doorbell swings and rings twice. Its colour is the text colour around it. Reduced motion: a still halo; e-ink snaps.
| Attribute | What it is |
|---|---|
kind | Which sensor or alarm.One of motion, smoke, co, water, siren, doorbell. Default motion. |
active | Whether it is going off, e.g. {{ cap.alarm_smoke.value }}. Or a live capability of any device, followed: {{ settings.x.cap.onoff }}. |
size | CSS size, e.g. 30px; or set --size.Default 30px. |
label | Accessible label; otherwise “Active” or “Quiet”. |
<hd-alert kind="motion" active="{{ cap.alarm_motion }}" size="40px"></hd-alert>