I want to select entities from all domains excluding any groups. I’m running Home Assistant Core 2022.5.5 which doesn’t have the group
domain. I’m using rejectattr
filter to exclude entities like so:
{% set entities = states|rejectattr('state','in',['off'])|list %}
I want to exclude light and switch groups from this list, but I haven’t been able to find a way without using legacy groups.
Any tips?