Would be great to make the alarm more user managed from the UI. If you’ve used SmartThings their alarm system is far easier for users to manage. You can just add entities that are valid for triggering each alarm type. A lot more simple then doing it through the configuration file or using automations.