ulic75 / power-flow-card

A power distribution card inspired by the official Energy Distribution card for Home Assistant
168 stars 27 forks source link

Feature request: Tap action #124

Open brechtvhb opened 1 year ago

brechtvhb commented 1 year ago

It would be useful to be able to configure a tap action. I would like to navigate to my real time energy dashboard (not the HA one). when clicking on the card.

Patrick762 commented 1 year ago

I tried to do this in my fork https://github.com/Patrick762/ha-power-flow-card.

Clicks redirect to the history page (I didn't find any information about how to show the details popup, maybe I'll update it in the future).

To enable the tap action, add clickable_entities: true to the card config

Patrick762 commented 1 year ago

I found out how to open the default popup. It's now in the fork. I also created a PR #125

GitHubGoody commented 1 year ago

+1 for support for the tap, double tap, and hold.

flixlix commented 1 year ago

I created a fork and change a very large portion of the codebase. This new Card includes clickable entities and more: https://github.com/flixlix/power-flow-card-plus It is also available in HACS a default repository, so feel free to check it out!