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
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:
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