[JS Module] Change default card/icon actions #1714
Clooos
started this conversation in
Share your Modules
Replies: 1 comment 1 reply
-
|
Trying to use this to change the default for both the button and icon to toggle and the hold to more-info. Setting the default seems to work, but overriding it for a single button seems to make no difference. .... it always seems to do the default action vs the locally defined one. Is there trick? I assumed it would do the default unless I had a local one. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Change default card/icon actions
Version: v1.0
Creator: Clooos
Important
Supported cards:
This module allows you to customize the default
tap,hold, anddouble-tapactions for all Bubble Cards at once ("All cards" must be enabled), including both the card and the icon.To edit the actions, follow these steps carefully:
Even though the configuration looks similar to YAML, it follows JavaScript syntax:
'navigate').,) are required between each item.Example:
You can copy existing Home Assistant YAML actions and adapt the formatting to JavaScript by adjusting quotes and adding commas where needed.
🧩 Get this Module
Screenshot:
Beta Was this translation helpful? Give feedback.
All reactions