thingsboard / thingsboard/thingsboard
Range Color Setting from entity attributes in Card Value Widgets
@ashaforost is already working on this.
Since May 2, 2024.
- Dominant language
- Java
- Stars
- 22.4k
- Forks
- 6.5k
- Avg merge
- 18h 26m
- Merged PRs (30d)
- 37
Description
Is your feature request related to a problem? Please describe.
Many times it is necesary to format the Card Value Widgets according to some value thresholds (range). This is partially acomplished by the Range Color Setting already available (see picture below).
However, this requires case by case "hardcoding" of the range values, making it unuseful when many devices need to be deployed and, even more, when the range values change over time. The same applies to icon and label.
Describe the solution you'd like
It would be great to be able to read from here parameters from the entity attributes, as it is already implemented for threshold lines in charts.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.