Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: multiple entities identify state #72

Closed
biau opened this issue Mar 14, 2019 · 4 comments
Closed

Request: multiple entities identify state #72

biau opened this issue Mar 14, 2019 · 4 comments
Labels
enhancement Something that can be improved feature request New feature or request

Comments

@biau
Copy link

biau commented Mar 14, 2019

Hi,
I would like to use this card to display tree different rooms temperatures.
If I use show_state: true, I can see the first entity state on the left and the second and third entities on the right but with no label in front so I have no way to know the room the temperature is from.
Maybe you could use the same color for the font as for the lines ?

@kalkih kalkih added the enhancement Something that can be improved label Mar 14, 2019
@kalkih
Copy link
Owner

kalkih commented Mar 14, 2019

Hey,
I've thought about adding the corresponding line color next to the state, similar to the legend.

@biau
Copy link
Author

biau commented Mar 14, 2019

That would be nice!

@kalkih kalkih added the feature request New feature or request label Mar 15, 2019
@kalkih
Copy link
Owner

kalkih commented Mar 18, 2019

New release available v0.3.1

You can now add a color indicator next to the state with the entity option show_indicator.
Or have the state font colored in the entity color through the entity option state_adaptive_color.

#example
- type: custom:mini-graph-card
  entities:
    - entity: sensor.example1
    - entity: sensor.example2
      show_state: true
      show_indicator: true
    - entity: sensor.example3
      show_state: true
      state_adaptive_color: true

Let me know if you have any questions.

@kalkih kalkih closed this as completed Mar 18, 2019
@biau
Copy link
Author

biau commented Mar 19, 2019

Excellent thanks!
state_adaptive_color is really great and show_indicator too but does not work for the first entity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something that can be improved feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants