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

[FR] Allowing to hide the state of the first entity #1150

Open
Nickduino opened this issue Sep 27, 2024 · 6 comments
Open

[FR] Allowing to hide the state of the first entity #1150

Nickduino opened this issue Sep 27, 2024 · 6 comments

Comments

@Nickduino
Copy link

Currently, the state of the first entity (whether it's the only one or there are several) cannot be hidden, it ignores the show_state: false parameter. Letting the user do this would allow us to declutter some dashboards when we want to look at the shape (and dynamic color) of a graph without the need for a precise value.

Here's a mock-up of the expected result:

image

@ildar170975
Copy link
Collaborator

Same picture may be achieved by

show:
  state: false

@ildar170975
Copy link
Collaborator

The problem appears only with several entities in a card. When a card contains only one entity - a state can be hidden easily.

@Nickduino
Copy link
Author

The problem appears only with several entities in a card.

That's true. Which makes the current behavior of show_state: false even more incomprehensible

@ildar170975
Copy link
Collaborator

Which makes the current behavior of show_state: false even more incomprehensible

Imho it can harm ONLY in case of several entities. In case of one entity - a “state” label can be hidden as it was shown.

@ildar170975
Copy link
Collaborator

Actually, if you do not to show a state for the 1st entity - just make this entity 2nd. Means - there is a simple workaround.

@Nickduino
Copy link
Author

Nickduino commented Sep 28, 2024

Actually, if you do not to show a state for the 1st entity - just make this entity 2nd. Means - there is a simple workaround.

It's exactly what I did yesterday but:

  1. It's still just a workaround and not the behavior a user expects
  2. You cannot order the graphs the way you want, so you can't always change the order of the entities as seen in Choosing the layer of a line #1147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants