Alarm control panel State Machine

Hi. I hope it’s the right place… I apologize for my english.
I’ve found that, for my experience, the state machine of the alarm control panel is not correct.
When you activate the alarm (in home, outside home, night, etc) it is correct that it has different behaviors (wait a delay to exit home, activate immediately, etc.) BUT from now on the system is only active. The type of activation may be an attribute, but not a state!
But the problem is when I want to deactivate or trigger the alarm: I have no capability to handle immediate alarm (e.g. someone opens a window) and delayed alarm (I open the main door and I need time to enter the code). The alarm triggering depends on the sensor, not on the way the panel has been activated!
It should be a way, e.g. Immediate_Trigger or Delayed_Trigger, which regardless of the way the system has been activated lets my automations decide if the alarm starts immediately or is delayed!
The correct state machine could be:

  • IDLE
  • ACTIVATING (during activate delay)
  • ACTIVE
  • ALARMING (during alarm delay)
  • ALARM
    Because I can activate outside home (immediately) but deactivate inside home (delayed) and I want the main door to be handled differently by a motion detection in the cellar or a window opened at the second floor.
    I hope it’s clear and apologize for the errors!