Skip to content

Show remaining template card features below when position is inline - #1935

Merged
piitaya merged 1 commit into
mainfrom
template-card-inline-features-below
Sep 1, 2026
Merged

Show remaining template card features below when position is inline#1935
piitaya merged 1 commit into
mainfrom
template-card-inline-features-below

Conversation

@piitaya

@piitaya piitaya commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Description

When features_position is inline, the template card only renders the first feature and silently drops the rest. This ports the tile card behavior from home-assistant/frontend#53310 and home-assistant/frontend#53631: the first feature stays inline next to the name, and the remaining ones are laid out below in two columns with a divider.

The two column layout relies on the hui-card-features columns property introduced in HA 2026.9, so the new behavior is gated on atLeastHaVersion(2026, 9). On older versions the card keeps showing only the first feature. getCardSize/getGridOptions count the extra rows the same way the tile card does.

Related Issue

This PR fixes or closes issue: fixes #

Motivation and Context

Keep the template card aligned with the tile card. The editor lets you add several features in inline mode and nothing happens, which reads as a bug.

How Has This Been Tested

Types of changes

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 🌎 Translation (addition or update a translation)
  • ⚙️ Tech (code style improvement, performance improvement or dependencies bump)
  • 📚 Documentation (fix or addition in the documentation)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have tested the change locally.
  • I followed the steps if I add a new language .

@piitaya piitaya added the enhancement New feature or request label Aug 14, 2026
@piitaya
piitaya merged commit fac648b into main Sep 1, 2026
2 checks passed
@piitaya
piitaya deleted the template-card-inline-features-below branch September 1, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant