tabbed-card
tabbed-card copied to clipboard
[Bug]: Unable to use conditional cards as tabs
Description
The tabbed-card ignores all the conditional pieces of the conditional cards and displays the card underneath the conditional card.
Environment
- OS: Linux, Arch-based (garuda)
- Browser: Firefox
- Home Assistant Version: 2023.11.2
- Tabbed Card Version: 0.3.2
Reproducible configuration
type: custom:tabbed-card
options: {}
tabs:
- attributes:
label: A
card:
type: conditional
conditions:
- condition: state
entity: input_boolean.choresab
state: 'on'
card:
type: todo-list
entity: todo.chores_weekly_a
title: Weekly chore list A
- attributes:
label: B
card:
type: conditional
name: B
conditions:
- condition: state
entity: input_boolean.choresab
state: 'off'
card:
type: todo-list
entity: todo.chores_weekly_b
title: Weekly Chore list B
- card:
type: todo-list
entity: todo.chores_monthly
title: Monthly chores
attributes:
label: M
Additional context
No response
If a conditional card is not shown - the tab which contains it is shown anyway. Do you consider this behaviour as a bug?
Also, check these - https://github.com/kinghat/tabbed-card/discussions/49, https://github.com/kinghat/tabbed-card/discussions/26, https://github.com/kinghat/tabbed-card/issues/60