[Styling Module, JS Module, JS+Editor Module] Smart Icons #1750
Replies: 17 comments 34 replies
-
hey. the installation from the module store is not possible? it only shows "manual install"? |
Beta Was this translation helpful? Give feedback.
-
yes, working, thanks! But it only shows the icon not the entity value itself? ![]() ![]() |
Beta Was this translation helpful? Give feedback.
-
Smart Icons v1.1 → v1.2 ChangesNew Features
Improvements
Backward Compatibility✅ All v1.1 configurations remain fully compatible |
Beta Was this translation helpful? Give feedback.
-
Hi, I really like the modul. Unfortunately it seems not working for smart badges unsing attributes. For all attemps I try to add a smart badge showing the temperature of an AC is not working. I do only get the state of the AC such as cool, but not the value for the temperature.
Is there something I do wrong unsing the tag for attribute? |
Beta Was this translation helpful? Give feedback.
-
Very powerful module, thanks for that! |
Beta Was this translation helpful? Give feedback.
-
Smart Icons v1.2 → v1.3 ChangesBug Fixes
New Features
Backward Compatibility✅ All v1.2 configurations remain fully compatible - |
Beta Was this translation helpful? Give feedback.
-
Any idea why this module would not be listed in the module store for me? |
Beta Was this translation helpful? Give feedback.
-
Hi @johndoe0815, Great question! If you previously installed Smart Icons via the store before it became hidden/blacklisted, it should still update itself through the store as long as the store system detects it as installed, and a new version is published. The blacklist applied in the store only prevents new users from discovering and installing it directly through the store interface—it doesn't automatically disable, remove, or duplicate the module for those who already have it installed. There are three ways to install/update the module:
The system uses a "last installation wins" approach—Bubble Card tracks both the module definitions ( Here's how the precedence works:
In practice:
So you're completely safe to update using any method—the system handles all transitions gracefully without corruption or duplicates. Choose whichever method is most convenient for you! Let me know if any other questions come up! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
An idea for improvement: add |
Beta Was this translation helpful? Give feedback.
-
Smart Icons v1.3 → v1.4 ChangesMajor Fixes
New Features
Backward Compatibility✅ All v1.3 configurations remain fully compatible - new features are additive only |
Beta Was this translation helpful? Give feedback.
-
Are you planning to add support for additional cards? E.g. for the input select card this module would also make it easier than with custom code to change the icon based on what has been selected to provide visual feedback. |
Beta Was this translation helpful? Give feedback.
-
Hi Guys, Looking forward to see ur next moves ! cheers |
Beta Was this translation helpful? Give feedback.
-
Noticed a bug with this module. If you set a smart badge (icon) with an animation it ignores the badge scale setting. |
Beta Was this translation helpful? Give feedback.
-
Smart Icons v1.4 → v1.5 ChangesBug Fixes
Improvements
Backward CompatibilityAll v1.4 configurations remain fully compatible |
Beta Was this translation helpful? Give feedback.
-
Smart Icons v1.5 → v1.6 Changes🚨 Critical Bug Fixes
✨ New Features
🔧 Improvements
📖 ExamplesBefore v1.6 (Verbose):background_color_js: >-
attributes.preset_mode === "low" ? "var(--accent-color)" :
"var(--card-background-color)"
icon_js: >-
state === 'heat' ? 'mdi:fire' :
state === 'cool' ? 'mdi:snowflake' : 'mdi:thermostat'
background_color_js: "state < 18 ? 'blue' : state > 25 ? 'red' : 'green'"
# Risky - fails if state contains spaces or special characters
icon_js: attr('zone.' + lowerState, 'icon') || 'mdi:home-export-outline' After v1.6 (Clean):background_color_js: cond(attributes.preset_mode, {low: 'var(--accent-color)'}, 'var(--card-background-color)')
icon_js: cond(state, {heat: 'mdi:fire', cool: 'mdi:snowflake'}, 'mdi:thermostat')
background_color_js: thresholds(state, {25: 'red', 18: 'green'}, 'blue')
# Safe zone entity references with special characters
icon_js: attr('zone.' + slugify(state), 'icon') || 'mdi:home-export-outline' 🔄 Backward Compatibility
🚀 Upgrade Benefits
|
Beta Was this translation helpful? Give feedback.
-
Hello, Do you think this card will work with the Horizontal Button Stack card? Thank you very much. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Module post template
Smart Icons
Version: 1.6
Creator: Zsolt
Important
Supported cards:
🧩 Get this Module
Screenshot:
Important: The first screenshot here will be used on the Module Store, so please provide one.
Before posting your module
unsupported
propertyyour_module_key
Beta Was this translation helpful? Give feedback.
All reactions