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
Bug description
After bubble-card updated to v3.2.0, pop-ups wrapped in
decluttering-cardtemplates stop working correctly:Root cause
bubble-card v3.2.x uses
e.getRootNode()to find parent context. When wrapped indecluttering-card,getRootNode()returns the shadow root ofdecluttering-cardinstead of the view root, so bubble-card cannot find itshui-cardwrapper and cannot read the hash.YAML
Expected behavior
Pop-up works normally with hash defined in template.
Actual behavior
bubble-card ignores hash, shows onboarding, reserves space in layout.
Versions