[JS+Editor Module] Icon border as progress indicator V2 #1525
Replies: 20 comments 39 replies
-
Beta Was this translation helpful? Give feedback.
-
Very nice module but unfortunately does not work with any other border radius configured. Example: the system will look really weird on a system with "bubble-border-radius: '12px'". |
Beta Was this translation helpful? Give feedback.
-
I was trying to use this module to put on the icon for the media player card the volume for the media player but I can't manage to tell the module to pull the value from the volume attribute from the media player. I set the source value as the media player entity and overwrote the values since media players go from 0 to 1 without success |
Beta Was this translation helpful? Give feedback.
-
Hi, is it possible to adjust the size of the border on a sub-button that contains icon and state? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Changelogv1.3.0
|
Beta Was this translation helpful? Give feedback.
-
Changelogv1.3.1
|
Beta Was this translation helpful? Give feedback.
-
I have some Problems with my Cover, it dosnt work, can u help me pls? thanks a lot type: custom:bubble-card
|
Beta Was this translation helpful? Give feedback.
-
Can I set 2 progress circle for the same icon? |
Beta Was this translation helpful? Give feedback.
-
Changelogv1.4.0
|
Beta Was this translation helpful? Give feedback.
-
Thanks @lsmarsden for the great module! I'm on the latest 1.4.0 version but having some trouble with integers and floats. I see your code above and it looks like it should take it into account, but since updating, it's not working. I was previously on 1.1.2 and that worked for all but one of my sensors, but now on 1.4.0, the progress bar only shows up for integers. Here's an example of sensors and my dashboard yaml: ![]() ![]() ![]() Let me know if I missed anything? I was trying to figure out the daily rain progress border not working for values between 0 and 2 (with the stops being 0.0, 0.2, 0.4, 0.6, etc but then after updating it seems like no floats are working. I should add that I also tried 0.0 to 100.0 along with changing the color stops to floats in the exact format/decimal points that I see in the templates, but that didn't change anything. I also left the start and end as integers and only changes color stops to floats, but that also yielded no change. I'll also try testing this with other sensors that are floats and see if there is some other consistency. |
Beta Was this translation helpful? Give feedback.
-
Changelogv1.4.1
|
Beta Was this translation helpful? Give feedback.
-
Changelogv1.5.0
|
Beta Was this translation helpful? Give feedback.
-
Is it possible to add a max sensor instead of typing in s manual value ? |
Beta Was this translation helpful? Give feedback.
-
Thanks for this, works great, except when using with auto-entities template for some odd reason.
But when I add the parameters for the module, it no longer displays:
Somehow adding the 4 lines after the modules block breaks it. |
Beta Was this translation helpful? Give feedback.
-
Changelogv1.6.0
|
Beta Was this translation helpful? Give feedback.
-
Changelogv1.7.0
Example - Two configurations for main button to show different sources on different conditions: icon_border_progress:
- button: main
source: vacuum.robo_vac[battery_level]
condition:
condition: "state",
entity_id: "vacuum.robo_vac",
state: "docked",
color_stops:
- percent: 0
color: "red"
- percent: 100
color: "green"
- button: main
source: vacuum.robo_vac[cleaning_progress]
condition:
condition: "state",
entity_id: "vacuum.robo_vac",
state: "cleaning",
color_stops:
- percent: 0
color: "blue" |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @lsmarsden |
Beta Was this translation helpful? Give feedback.
-
Thanks. Just discovered this, and love it. Appreciate all your hard work. |
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.
-
Icon Border Progress
Version: 1.7.0
Creator: lsmarsden
Important
Supported cards:
Icon Border Progress
Forked from Nick's module.
🧩 Get this Module
Screenshot:
Before posting your module
unsupported
propertyyour_module_key
Beta Was this translation helpful? Give feedback.
All reactions