Fix: Prevent Double Action Triggers on Entity Rows
Fixed an issue where clicking on number entities or select dropdown entities would trigger both the entity's built-in action and the card's tap action simultaneously.
What Changed
- Updated entity row rendering to use Home Assistant's
createRowElementinstead of the deprecatedstate-card-content - Disabled built-in tap, hold, and double-tap actions on entity rows to prevent conflicts with the card's action handling
- The card now properly handles all entity interactions through its own action system
Impact
- Number entities and select dropdowns now work correctly without triggering unintended actions on mobile
- Maintains all existing card functionality while fixing the double-action bug
- Improves user experience by providing consistent interaction behavior across all entity types
Languages
Added support for
- Portuguese
- French
This resolves a long-standing issue where certain entity types would cause unexpected behavior due to conflicting action handlers. Thank you all for being patient.. I tried to fix it in HAS itself but the devs told me to refactor this card instead :D
- chore: bumps version to 0.15.0 by @gh-action-bump-version
- finally refactored card to use newer HAS componenets.... thanks for the patiencs y'all by @warmfire540
- localize tests by @warmfire540
- translations - thanks @Bsector! by @warmfire540
- workflows and deps by @warmfire540
- chore: dump deps by @warmfire540
What's Changed
- Refactored card to fix certain issues on mobile and when clicking. Also French & Portuguese translations! 🇵🇹 🇫🇷 by @warmfire540 in #31
Full Changelog: 0.14.0...0.15.0