-
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
add expand_group filter to recursive include entities of groups #21
base: master
Are you sure you want to change the base?
Conversation
I believe this is where I picked up the invalid battery attribute, it should be battery_level.
please let me add to this, following our chat on Discord: Using groups with nested groups (eg to allow easy controlling and templating elsewhere) it would be very nice to be able to do:
while that group would be:
currently, that looks like: which as you can see has an erroneous toggle (there's a issue on that in the Frontend repo) and has a more-entities that is even less attractive: we have to include both groups separately now, like:
and of course, set the options twice too. Not a frist world problem, but given the power of auto-entities, something like the would be even greater if we could add
Hope you can have a look, and ofc, be glad to elaborate if so requested. ps, I did manage to get it even shorter, but it does require some attention to the naming of the entities :
but thats besides the issue here probably, because many groups consist of differently named entities, and would benefit this use case |
hey @spali ! |
Hi @Mariusthvdb |
right.... Ill have a look. And while at it, it should be expanded to binary_sensor s group, because they use the same format, and we can already use them in the group filter. Maybe Thomas spots this conversation, and he could comment on the feasibility of the PR I hope.. thanks! |
a new group_expand filter, which does list entities of a group recursive but without group's itself.
to be honest, I tested it only with include. But implemented it in a way, that in theory it should work for exclude too.