v2.2 - Performance Optimization
What's Changed
Performance Improvements 🚀
- Optimized render updates: Card now only re-renders when configured entities actually change state, not on every Home Assistant state update
- Change detection: Added
_hasEntitiesChanged()method to intelligently compare entity states between updates - Dramatic performance improvement: Eliminates unnecessary re-renders in systems with many entities updating frequently
Fixed
- Performance issue where card re-rendered on every HA state update (#1)
Credits
- Thanks to @andyp05 for reporting this issue and providing the initial optimized implementation approach
Full Changelog: v2.1...v2.2