Skip to content

bubble-card pop-up v3.2.x not working when wrapped in decluttering-card #93

Description

@e2ret

Bug description

After bubble-card updated to v3.2.0, pop-ups wrapped in decluttering-card templates stop working correctly:

  • Pop-up shows "You need to define a unique hash" onboarding message despite hash being defined
  • Pop-ups reserve empty space in dashboard layout when closed

Root cause

bubble-card v3.2.x uses e.getRootNode() to find parent context. When wrapped in decluttering-card, getRootNode() returns the shadow root of decluttering-card instead of the view root, so bubble-card cannot find its hui-card wrapper and cannot read the hash.

YAML

korridor_bubble_popup:
  card:
    type: custom:bubble-card
    card_type: pop-up
    hash: "#korridor"
    cards: []
# In dashboard:
- type: custom:decluttering-card
  template: korridor_bubble_popup

Expected behavior

Pop-up works normally with hash defined in template.

Actual behavior

bubble-card ignores hash, shows onboarding, reserves space in layout.

Versions

  • bubble-card: 3.2.5
  • decluttering-card: latest
  • Home Assistant: 2026.7.x

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions