v3.1.0
The first release after the rework. Small, on purpose: a handful of additions
and fixes, none of which changes how the card is laid out.
Added
- An icon template on a button.
buttons:name:icontook a string only;
an icon driven by state worked on an indicator but not on a button. It can
now be atemplatethe same way an indicator's can be, so the icon follows
the button's state. #49 - A unit from the reading, not from a fixed string.
unit:templatenow
runs, and takes the mapped value and the raw one: the value the card draws,
and the value the sensor reported. A power sensor that reads1500shows
1.5 kW- the mapper divides, the unit template pickskWfrom the raw
1500. #272
Fixed
- The fan mode dropdown under the name sits on one line, and the whole line
is the click target. The label used to drop below the icon - a column
instead of a row - and only the 20x20 icon glyph opened the menu, on Home
Assistant 2026.8.3 whereha-icon-buttonstacks its slot content. The drop
is a single button now: icon and label in a row, menu opens wherever the
line is pressed. #270
mini-climate-card-bundle.js, built by this run:
sha256 2abfc4cdde7fe707a35fa954cf085d07b40c0b48b326cf323e21a5f73b2655bf
The build is signed: gh attestation verify mini-climate-card-bundle.js -R artem-sedykh/mini-climate-card checks the file you downloaded against this repository and this tag.