Skip to content

Custom:stack-in-card prevents Entities card from working in first tab #133

Description

@almighty059

Description

It took me forever to figure this out but after trying almost every card combination I think I finally found the issue.

The issue occurs when using the and the entities: card together in the first tab and only the first tab. When the 'custom:stack-in-cardis used in the first row and theentities:card is placed within the card it will not appear. All the other cards I tried worked fine just not theentities: card. If the I put a 'conditional: card within the 'custom:stack-in-card' and then use the entities: as the card that is shown when the condition is true then it does work. It does not matter how many entities: cards I use, as long as they are separate and within the custom:stack-in-card they will not appear. If I copy the entire code from the first tab and use it for any additional tabs then all of a sudden it works. It also works when using the normal vertical-stack card.

Recording.2023-10-31.145640_compressed.mp4

Environment

- OS: Windows
- Browser: Firefox
- Home Assistant Version: 2023.10.5        
- Tabbed Card Version: v0.3.2

Reproducible configuration

type: vertical-stack
cards:
  - type: custom:tabbed-card
    option: null
    attributes: null
    tabs:
      - card:
          type: custom:stack-in-card
          mode: vertical
          cards:
            - type: custom:button-card   # This works 
              entity: sun.sun
            - type: entities   # This does not appear on dashboard view 
              entities:
                - entity: sun.sun
                - entity: sun.sun
            - type: custom:button-card   # This works 
              entity: sun.sun
            - type: entities   # This does not appear on dashboard view 
              entities:
                - entity: sun.sun
        attributes:
          label: 1
      - card:
          type: custom:stack-in-card
          mode: vertical
          cards:
            - type: custom:button-card   # This works 
              entity: sun.sun
            - type: entities   # This works now since not in first tab
              entities:
                - entity: sun.sun
                - entity: sun.sun
            - type: custom:button-card   # This works 
              entity: sun.sun
            - type: entities   # This works now since not in first tab
              entities:
                - entity: sun.sun
        attributes:
          label: 2

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