What's changed
✨ New
-
Special entities
_resizeand_energy*(#242)
An entity starting with_updates the card on events that aren't state changes:_resizere-evaluates the card when the browser window is resized._<collection_key>re-evaluates the card when theenergy-date-selectioncard with thatcollection_keychanges period. The key must start withenergy.
- 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)
Everyhassupdate 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