WTH, No Hold action on Badges in the UI?

Loving the new badges (yes, Ive found the way to customize them :wink: ) but really missing the option to set both tap_action And hold_action in the UI

please add hold_action to the view badges, so we can tap to get more-info, and hold to navigate to another view (or anything else of course)

hold_action:
  action: navigate
  navigation_path: /ui-settings/security_settings

Iā€™ve set that order of action to all cards in my config, core and custom, but Badges still can not do that.

other reason to add hold_action:
prevent accidental clicking and requiring a hold for the action to perform

making this not only a YAML option, but UI too please
Please add?

Whoa, as in there is a way to finally card_mod them? That would save me from posting my WTH!

haha yes, check this. O and this

So am I right that this doesnā€™t actually card_mod the badges in their default position, but only if theyā€™re put elsewhere in the dashboard via the custom cards?

not sure what youā€™re asking, but lets not pollute the WTH with side steps.
please ping me in card-mod thread so we can discuss what ever mod you like ok?

Yeah, I would like that. I use the new badges to trigger scenes and it would be nice to have the hold action to show the more info card.

I have a recent script that I action with a badge. Iā€™ve just tried to check last triggered date by holding the tap, but it just triggered. And then impossible to cancel it from the badge.

Iā€™m starting to really need the hold action in new badgesā€¦

These actions are already available for Entity badges, although only via YAML.

In the PR for the Tile card when additional actions were added, it was explained that these actions were deliberately not included in the GUI for reasons of easiness of use.

Yes, and this WTH is to get them in the UI for ease of use nonetheless

Thatā€™s also what I would prefer, but from the explanation it seems that it was on purpose. Voted!

1 Like

The hold action was later added to the GUI in this PR:

So at least it shows that the team is reasonable about the topic, so I think thereā€™s a chance for badges to get it too.

1 Like