Groups: maximum number of entities

Do groups have a maximum number of entities?

I couldn’t find any at Group - Home Assistant

Asking as I have this:

group:
  problems_any_ignored:
    name: Problematische Entitäten (ignorierte)
    icon: mdi:debug-step-over
    entities:
      - ...
      - ...
      - ...

with many entities.

{{ expand('group.problems_any_ignored') | length }} gives: 128.

…and that looks like a potential binary system limit to me.

When adding more entities and reloading template sensors, the newly added ones are not added to the group. Stays at 128. Nothing in HA log.

Very strange…

Edit: seems like there’s another issue. The group had 131 elements before the last HA Core restart, then it went down to 128. So I need to investigate that…

Edit: after a HA Core restart, the group is working fine again. Strange stuff…


ANYWAY: Is there an actual limitation of maximum group members?