Filter area_entities

For anyone who stumbles across.
Expanding will remove groups.
I always thought they meant the filter like this:

{{ states.light
| selectattr('entity_id', 'in', area_entities('xyz')) }}