Skip to content

[Bug]: Unable to use conditional cards as tabs #137

Description

@jeffbeale

Description

The tabbed-card ignores all the conditional pieces of the conditional cards and displays the card underneath the conditional card.
image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions