Alarm state changed for no reason

I have an alarm in HA

  - platform: manual
    name: Home Alarm
    # code: "1234"
    arming_time: 1
    delay_time: 1
    trigger_time: 4
      trigger_time: 1
      arming_time: 1
      delay_time: 1

and the state is changed either by automation or user input.
but for some reason when accidentally triggered the state changes again to Armed away
and I can’t find why, the log does not show any usesfull information on this.