v0.14.0
🎉 Celebrating 1,000+ active installations! Thanks everyone for your trust and feedback!
Customizable sorting is here! Now you can control how items are organized in your treemap - by value (for optimal layout), entity ID, label (alphabetically), or keep them in config order. Plus, I fixed a visual bug where equal-value items would create uneven row heights.
type: custom:treemap-card
entities:
- sensor.*battery*
sort_by: entity_id # Sort alphabetically by entity ID
order: asc # A→Z (or use desc for Z→A)The new sort_by option works independently from order, giving you full control:
sort_by: value(default) - Optimize layout for best visual balancesort_by: entity_id- Alphabetical by entity ID (perfect for batteries:sensor.battery_01,sensor.battery_02...)sort_by: label- Alphabetical by display namesort_by: default- Keep your config order (useful when you manually arrange entities)
I also fixed an issue where items with equal or near-equal values (like lights all at 100% brightness) would sometimes render rows with different heights. Now the algorithm auto-detects equal values and uses grid layout for consistent, clean row heights.
Do you find the card useful? Please ⭐️ the project.