thingsboard / thingsboard/thingsboard

Range Color Setting from entity attributes in Card Value Widgets

Open
#10,025 4 comments 2 reactions 2 assignees View on GitHub

@ashaforost is already working on this.

Since May 2, 2024.

Backlog feature In progress UI
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).
image
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.