-
Notifications
You must be signed in to change notification settings - Fork 116
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] Secondary Sort #443
Comments
You may define more sorting methods using a |
could you provide an example? |
Please check here: #367 |
It would be nice if this could be implemented, honestly. The UI of the card is missing a lot of options that the YAML has (which is a separate issue), but also a multi-level sort is a pretty reasonable thing to expect for something like this. Especially since we shouldn't have to use the template option for 99% of the use-cases. |
Can someone provide suggestions or an example on how I can use the The I can always rename the battery entity IDs to force the sorting to accomplish what I'm trying to do. I have a ton of battery sensors. Also, I don't really want to start creating a bunch input helpers for this purpose. An awesome feature request would be to allow the auto-entities sort parameter to accept a custom sort key, i.e. states(config.entity) + ":" + "001", so something like "100:001", "100:002", etc, that can be passed in with Jinja2. ....Or a secondary sort parameter for Auto-Entities Dashboard Card YAML
|
A secondary sort would be nice. For instance, if I want to sort things so that unavailable items are shown first, and then sort numerically, I am unable to. A use case would be battery level for devices sorted in reverse numerical order, where a dead battery would result in an unavailable state, which would sort below 100%.
The text was updated successfully, but these errors were encountered: