I have a statistic card that shows the average power used by a plug (sensor.kauf_plug_power) over the past 24 hours. I wanted a quick way to occasionally pull up the daily energy use history graph as well so I added a footer to that card with a button setup for the tap action to open the “more info” for the plug daily energy entity (sensor.kauf_plug_total_daily_energy). Code and picture below.
Trying it out locally from my desktop Firefox browser clicking the button only rarely works correctly and opens the daily energy history graph but usually it incorrectly opens the power history graph of the main statistic card entity instead. I have another identical card just with entities swapped to grid power and grid daily energy and it exhibits the same issue.
I also tested it in the Android phone app but it actually works correctly there every time. I then tried it in Firefox mobile and it also works there. So I then went back to my desktop and tried it in Chrome and that had the same issue as desktop Firefox.
So maybe a bug instead of incorrect setup of the card from my end?
type: statistic
entity: sensor.kauf_plug_power
stat_type: mean
name: 24 Hr Avg
period:
rolling_window:
duration:
hours: 24
minutes: 0
icon: mdi:gauge
footer:
type: buttons
entities:
- entity: sensor.kauf_plug_total_daily_energy
tap_action:
entity: sensor.kauf_plug_total_daily_energy
action: more-info
name: Daily Energy
Opens the power graph on desktop browser:
Should open the daily energy:
I added that same footer code to an entities card for testing and this works from desktop browser.
type: entities
entities:
- entity: sensor.sun_next_dawn
- entity: sensor.sun_next_dusk
footer:
type: buttons
entities:
- entity: sensor.kauf_plug_total_daily_energy
tap_action:
entity: sensor.kauf_plug_total_daily_energy
action: more-info
name: Daily Energy
grid_options:
columns: 6
rows: auto