0.49.0 - New Feature: Sticky Entities & more Editor updates π― π©οΈ ποΈ
βοΈ New Feature: Entity States Editor
You can now edit the states object for entities directly in the card editor. This allows you to configure custom state labels, colors, and icons for specific entity states without needing to manually edit YAML configuration.
π― New Feature: Sticky Entities
Overview
The sticky_entities feature flag keeps entity icon positions stable in the UI, even when entity states are unavailable or entities don't exist. This prevents layout shifts and improves usability, especially on touch dashboards when using auto-entities.
Why This Feature is Useful
- Keeps icon positions stable across states β easier and faster to tap, especially on touch dashboards
- Reduces mistakes when entities appear/disappear or change availability
- Consistent UI layout β entities maintain their configured positions regardless of state availability
How It Works
When sticky_entities is enabled, entities that don't have an available state will still be displayed in the UI with a minimal configuration (entity ID). They appear in their configured position with an "unavailable" state, ensuring the layout remains consistent.
Configuration
Enable the feature by adding sticky_entities to your features list:
type: custom:room-summary-card
area: living_room
features:
- sticky_entities
entities:
- placeholder
- switch.living_room_fan
- entity.fake
- switch.living_room_speakersUse Cases
- Touch dashboards: Maintain consistent tap targets even when devices go offline
- Unstable connections: Keep UI stable when entities temporarily lose connection
- Device initialization: Show entity slots during device startup/initialization
- Better UX: Prevent frustrating layout shifts that cause accidental taps
Documentation: See Configuration Guide and Examples for more details.
- chore: bumps version to 0.49.0 by @gh-action-bump-version
- edit entity states in editor by @warmfire540
- sticky entities fixed slots - thanks @viprapp! by @warmfire540
What's Changed
- New Feature: Sticky Entities & more Editor updates π― π©οΈ ποΈ by @warmfire540 in #247
Full Changelog: 0.48.0...0.49.0
