github artem-sedykh/mini-climate-card v3.0.0

2 hours ago

v3.0.0

A wide one - the first release in months, and most of what Home Assistant did
to this card since the last one is fixed here. It is a major bump because two
of the changes are visible: the dropdown menu is the card's own now, and the
element registry is global.

Added

  • hide_icon - a boolean or a template. Hide the entity icon on the left,
    or hide it only while a condition holds, the way every other hide in this
    card works. #248

Fixed

  • The card is no longer a blank box when its entity is missing. An entity
    that is not in hass.states at all - renamed, deleted, an integration still
    starting - used to render an empty card and throw once per component. Now it
    draws the unavailable card. #46
  • tap_action written as a string works again. tap_action: more-info and
    the rest - the shorthand that a hand-written card uses - was a dead click on
    the card itself. The indicator never had this bug; the card's own click did.
    #234
  • The entity icon lines up with what is beside it. The mode and the
    temperatures sat 4.5px low against the icon, and the name 10px high when the
    secondary info line was hidden. Both are now centred on the same row.
    #99,
    #100
  • The icon button fits its host on Home Assistant 2026.x. HA rebuilt
    ha-icon-button on ha-button and moved the size from
    --mdc-icon-button-size to --ha-icon-button-size; the card now sets both,
    so what it draws is 30px, not 30px inside 48px. The same bug also hid the
    dropdown icon. #188,
    #256
  • The fan mode dropdown button is the size it should be. It was 30px inside
    a 20x19 host. #256

Changed

  • The dropdown menu is the card's own, not @material/mwc-'s. The card no
    longer ships the Material Web Components menu that Home Assistant stopped
    loading - which is what stopped the fan mode and hvac mode dropdowns working
    on HA 2026.5. The menu it renders now is this card's mc-menu. Behaviour
    with a visible dropdown is the same; the internals are not.
    #175
  • The element registry is global. Every mc-* component registers itself
    with the document, the way Home Assistant expects a custom card to. Two
    things follow: a component that is not imported is now obvious, and the
    polyfill this card used to depend on is gone. This is the larger part of why
    cast rendering - and the blank card elsewhere - should be healthy.
    #72,
    #80

Removed

  • collapse. Declared and read since the first commit, never styled by
    anything, documented nowhere. An option that did nothing for six years is
    gone rather than described.

No change to the card itself

The rest of the 56 commits are the toolchain, the documentation, and the test
bench - none of which changes what the card draws or does. The test layer is
where the effort went: four layers now, one of which is a whole Home Assistant.


mini-climate-card-bundle.js, built by this run:

sha256 36dc274692512d95e7782b4c9b84e4d6cba7f961228bdb876a06ea800cd0dd7f

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.

Don't miss a new mini-climate-card release

NewReleases is sending notifications on new releases.