filter custom attributes on More-info dropdown #10167
Unanswered
Mariusthvdb
asked this question in
Dashboard
Replies: 2 comments 1 reply
-
With "dropdown" you mean the collapsible/expandable section at the bottom of the more-info dialog? Not sure if that is something for vanilla frontend or not better suited for a custom UI element... |
Beta Was this translation helpful? Give feedback.
1 reply
-
is there any chance we could get an additional attribute in that list to hide from displaying in the attributes dropdown panel? it would make life for customizing much easier, and the frontend way prettier ;-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
please consider adding the option to filter custom attributes from the more-info dropdown.
We can now easily create custom attributes (eg to facilitate templates using
selectattr()
) which don't need to be in the frontend dropdown at all. Those attributes are really only needed in the backend.Core attributes are now filtered here:
frontend/src/util/hass-attributes-util.ts
Line 87 in 7bc2708
or notice why Petro does: https://community.home-assistant.io/t/add-bring-back-friendly-name-to-template-sensors/305717/14
for #hacktoberfest ;-)
Beta Was this translation helpful? Give feedback.
All reactions