[JS+Editor Module] Conditional slider button coloring #1712
andarotajo
started this conversation in
Share your Modules
Replies: 2 comments 8 replies
-
ChangelogVersion 1.2
Version 1.1
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for this, but I cannot get the custom value option to work at all, only the preset/color wheel. |
Beta Was this translation helpful? Give feedback.
8 replies
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.
-
Conditional slider button coloring
Version: v1.2
Creator: andarotajo
Important
Supported cards:
Unsupported cards:
This module allows you to change various colors (and optionally opacity) of a slider button based on more or more conditions. The settings can be applied to the slider, card, or icon. Generally, it has the following features:
It's possible to set up multiple sets of conditions using the YAML configuration. To do this, copy the
conditional_colors_1
section replace the number at the end with the next number in sequence.Configure this module via the editor or in YAML, for example:
🧩 Get this Module
Screenshot:
Before posting your module
unsupported
propertyyour_module_key
Beta Was this translation helpful? Give feedback.
All reactions