Manual and template alarm not appearing in

I needs some help.

Does anyone know what makes an alarm control panel appear in the security grouping at the top of the Home app (the security grouping next to lights and climate).

I have a manual alarm panel and a template alarm panel configured in YAML and they show up in Homekit but not under the security grouping while my Xiaomi gateway alarm panel are appearing under the security grouping.

So what’s the parameter in the configuration that makes homekit add it to the security group/category ?