-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
After version 2.5.1, cards with attributes are empty #113
Comments
Do you have errors in the console (F12 in your browser to access developper tools) ? |
@kosmaluk can you try with version 2.5.2 ? |
@kosmaluk can you test with version 2.5.3 ? It should fix the issue |
this change is unnecessary. It blows away the entire view of all the cards. Why would anyone need empty or null attributes?
|
if you solved error 112 (Jump down |
@kosmaluk, I'm sorry that solving my problem has created problems for you... I definitely didn't want that... |
@kosmaluk, I was talking about displaying an attribute whose value is exactly zero (not null and not no value), as you wrote above... |
@il77781 |
I hope @royto finds a way to fix the situation. |
Yes, it is unclear why the hidden_state does not work... |
the hiden_state function will not work for this because it hides the entire object and not the attribute itself. |
@kosmaluk, do you want it to be like this: the attribute that you specified in the card settings should be displayed only if it is not null (none) and not empty (no value)? Right? |
@il77781 just like that My card 2.5.0 (automaticaly hiden this state null and empty) |
I will release a new version later that hide null values |
@kosmaluk, Yes, I understand you... |
the empty attribute does not display anything but appears as an item. |
@kosmaluk, In your example, it turns out that empty is Mess_W and Mess_I? Don't you want to see them either? |
@il77781 Exactly. They weren't visible before this change and I wish they were |
version 2.5.4 hides attribute if value is null |
For me 2.5.4 works as expected! Thank you, @royto! |
@royto for me it no longer shows "null" attributes, but still shows "empty" attributes. |
Probably, the absolutely ideal case would be in which the visibility of attributes in one state or another could be selected in the card settings... |
@il77781 Such a function would need to have an opposite function to hide only the attribute for a specific state. |
version 2.5.5 hides attribute if value is empty |
Thank you @royto. Now everything works |
Card configuration
After updating to version 2.5.1, all items stopped being displayed in some tabs (they are empty).
After analyzing the problem, I found out that it was caused by a change in version 2.5.1. I don't know exactly what it is about, but it concerns attributes. Some cards display attributes and some do not. Those that do not display often have "empty" or "null" attributes. Adding one such attribute that has the value "empty" or "null" in the history causes the card to display nothing.
If I remove the entire "attributes" section, the card displays correctly, i.e. it shows the entity states (without attributes)
This is card correctly (wer 2.5.0)

This is card afrer ver 2.5.1

This is card after remove "attribute" section

The text was updated successfully, but these errors were encountered: