Skip to content

2.4.0

Latest

Choose a tag to compare

@iantrich iantrich released this 02 Dec 04:43
· 2 commits to master since this release
0fe55e4

What's changed

✨ New

  • Special entities _resize and _energy* (#242)
    An entity starting with _ updates the card on events that aren't state changes:

    • _resize re-evaluates the card when the browser window is resized.
    • _<collection_key> re-evaluates the card when the energy-date-selection card with that collection_key changes period. The key must start with energy.
    - type: energy-date-selection
      collection_key: energy_collection_key
    - type: custom:config-template-card
      variables:
        HEIGHT: window.innerHeight
        STARTDATE: hass.connection?._energy_collection_key?.start
      entities:
        - _resize
        - _energy_collection_key
      card:
        ...

    See Special entities in the README.

🐛 Fixes

  • Live values in inner cards (#242)
    Every hass update is now passed to the inner card, not only updates for watched entities. Cards that show live values inside a config-template-card now stay current.

Thanks to @Triple-S for all of these.

Upgrade notes

  • No configuration changes are needed.
  • Update through HACS/Marketplace, then clear your browser or app cache. The browser console should show Version 2.4.0.

Full changelog: 2.3.0...2.4.0