github homeassistant-extras/device-card 0.15.0
0.15.0 - Refactored card to fix certain issues on mobile and when clicking. Also French & Portuguese translations! 🇵🇹 🇫🇷

3 months ago

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 createRowElement instead of the deprecated state-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


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

Don't miss a new device-card release

NewReleases is sending notifications on new releases.