Personally, I find this feature very useful when we have to integrate multiple alarms into HA and want to orchestrate with our own logic.
This works very well. But, I find that the code is missing in the template, although there are the 2 available attributes: “code_arm_required” and “code_format” !
Is it possible to add the “code” attribute like for the manual “Alarm Control Panel”, please?
Today, I’m bypassing it with a “condition template” in the Template Alarm and a secret !
extract from the template alarm: