Skip to content

Section dashboard, card grid_options documentation & enhancements #45435

Description

@wbruninx

Feedback

None of these are working, with or without section_mode:true & input_select.column_width being 6,12,24 or full….

type: custom:config-template-card
section_mode: true
grid_options:
columns: states['input_select.column_width'].state
rows: auto

type: custom:config-template-card
section_mode: true
grid_options:
columns: |
${
var col = states['input_select.column_width'].state;
return col === 'full' ? 'full' : parseInt(col);
}
rows: auto

type: custom:config-template-card
entities:

  • input_select.column_width
    card:
    type: custom:mod-card
    grid_options:
    columns: >
    ${states['input_select.column_width'].state === 'full'
    ? 'full'
    : Number(states['input_select.column_width'].state)}
    rows: auto
    card:
    type: markdown
    content: Test

URL

https://www.home-assistant.io/dashboards/sections/

Version

2026.5.2

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThe PR had no activity for quite some time, and is marked as Stale

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions