hd-machine
A heat pump, heater, pump, fan or air conditioner that answers being switched (a fan spins up or winds down, a pump hums, a heater’s flame blooms), then rests. While it works it shows it in colour with a soft glow (warm heating, cool cooling, accent running) and keeps a calm motion going: a fan turns with its speed, a heat pump’s fan turns, a heater’s flame flickers, a pump pulses, an air conditioner breathes. Reduced motion: no motion; e-ink snaps.
| Attribute | What it is |
|---|---|
kind | Which machine (its icon and motion).One of fan, pump, heatpump, heater, aircon. Default fan. |
on | Its state; a change plays the switch motion once. Or a live capability of any device, followed: {{ settings.x.cap.onoff }}. |
working | What it is doing while on; empty when it rests.One of heating, cooling, running, . |
speed | A fan’s speed 0–1, e.g. {{ cap.dim.value }}. Or a live capability of any device, followed and fitted into its own range: {{ cap.measure_battery }} (0–100) just works. |
size | CSS size, e.g. 18px; or set --size.Default 1em. |
label | Accessible label; otherwise “On” or “Off”. |
<hd-machine kind="fan" on="{{ cap.onoff }}" speed="{{ cap.dim }}" size="40px"></hd-machine><hd-machine kind="heatpump" on="true" working="heating" size="40px"></hd-machine>