Support additional actions for Entity Heading Badges #24705
-
SummaryRight now it seems as if entity heading badges only support I have a dashboard that uses headings which contain badges for a few light entities, and while the Here's an example of my current configuration, with the suggested improvement type: heading
icon: mdi:sofa
heading: Living Room
heading_style: title
badges:
- type: entity
show_state: false
show_icon: true
entity: light.hallway_light
color: state
tap_action:
action: toggle
hold_action: # This is what I would like to be able to do!
action: more-info InvestigationsI've contributed a bit to home-assistant/core before, but never to the frontend, so I unfortunately don't have a great understanding of the complexity of a change like this, but I did do some digging to try and identify what might need to change to support something like this, so I'd love a gut-check if there's anything else I'm missing! From what I can tell, the frontend/src/panels/lovelace/badges/hui-entity-badge.ts Lines 207 to 218 in ef7f499 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I created #24707 to attempt to address this. It's still kind of a work in progress, but sharing for visibility! |
Beta Was this translation helpful? Give feedback.
I created #24707 to attempt to address this. It's still kind of a work in progress, but sharing for visibility!