hd-bulb
A light bulb that blooms on and fades off, and spills its light around it, wider and stronger the brighter it is (the tile clips it). Reduced motion fades; e-ink snaps without a glow.
| Attribute | What it is |
|---|---|
on | Whether it is lit; a change blooms it on or fades it off. Or a live capability of any device, followed: {{ settings.x.cap.onoff }}. |
level | Brightness 0–1, e.g. {{ cap.dim.value }}; missing is full. Or a live capability of any device, followed and fitted into its own range: {{ cap.measure_battery }} (0–100) just works. |
icon | Another icon to draw it with, e.g. {{ device.icon }} (the one picked for the lamp in Homey); its light opens the same way. Missing is the bulb. |
size | CSS size, e.g. 18px; or set --size.Default 1em. |
label | Accessible label; otherwise “On” or “Off”. |
<hd-bulb on="{{ cap.onoff }}" level="{{ cap.dim }}" size="48px"></hd-bulb>