Skip to content

tap_action 'zoom' does not work #289

@6onions

Description

@6onions

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
HA: 2025.6.3, sankey-chart 3.9.3

Last working release (if known):
This feature never worked for me

Browser and Operating System:

Win 10, Edge Version 137.0.3296.93 (Offizielles Build) (64-Bit)
iOS 16.6.1, Safari (?), Chrome and more
-> Basically all browsers on all systems I use

Description of problem:

The "entities" obtject has a tap_action parameter.
According to the documentation: "supported action types are 'more-info', 'zoom', 'navigate', 'url', 'toggle', 'call-service', 'fire-dom-event'.
I would love to use the 'zoom' type, expecting it would make the tapped entity the topmost one and thus focussing and enlagring all the children below.
Unfortunately this type never worked for me :-(
So is it supposed to work (with I would highly appreciate) or is the documentation just outdated.
I already looked into the code (only beeing a c# programmer though) and there seems to be some provisioning for it there...

Thanks for fixing it, as this would allow for very cool interactive dashboards.
And by the way thanks for this extremly usefull custom card in the first place.

Javascript errors shown in the web inspector (if applicable):


Additional information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions