You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe what is wrong
I am using the Battery State Card to display Zigbee Link Quality Indicator (LQI) values with dynamic gradient colors and icons. While the icons work as expected, the gradient colors do not behave as intended. The card fails to reflect the gradient for the defined steps (red, yellow, green) even though my LQI values range from 0 to 255.
Here are the steps I have tried so far:
Set default_state_formatting: false to prevent default formatting from interfering.
Used state_map to scale the LQI range (0-255) to percentages (0-100).
Configured colors with and without gradient: true, as well as with different numbers of steps.
Defined steps using both color names (e.g., red) and HEX values (e.g., #FF0000).
Configured steps with and without value fields.
Changed the order of steps to ensure proper threshold interpretation.
Tested with and without value_override.
Attempted different min and max settings for the colors section.
None of these approaches resolved the issue. The colors remain static and do not dynamically reflect the defined thresholds or the gradient behavior.
I would greatly appreciate any guidance on how to resolve this issue. If there are additional settings or adjustments I may have overlooked, please let me know!
The text was updated successfully, but these errors were encountered:
Describe what is wrong
I am using the Battery State Card to display Zigbee Link Quality Indicator (LQI) values with dynamic gradient colors and icons. While the icons work as expected, the gradient colors do not behave as intended. The card fails to reflect the gradient for the defined steps (red, yellow, green) even though my LQI values range from 0 to 255.
Here are the steps I have tried so far:
None of these approaches resolved the issue. The colors remain static and do not dynamically reflect the defined thresholds or the gradient behavior.
YAML configuration
Screenshot
Version
Card Version: 3.2.1 (Installed via HACS)
Core 2024.12.2
Supervisor 2024.11.4
Operating System 14.0
Frontend 20241127.7
Debug Output from Example Sensor
I would greatly appreciate any guidance on how to resolve this issue. If there are additional settings or adjustments I may have overlooked, please let me know!
The text was updated successfully, but these errors were encountered: