Part of the issue is what’s the status to display when locked, some keypad have “partial” or “on”, other have “away”, “stay” and “night” modes. The DTH cannot decide what mode the keypad lights needs to be in since it isn’t a one to one mapping.
The led state is set by the app and not the DTH, the app controls what led to show, in this case when the user directly arms/disarms SHM the app updates the LED to reflect a successful processing of the user command.
BTW, by ST design DTH’s cannot read SHM state so it’s difficult to synchronize the keypad LED’s with SHM, it always needs to be done by the app. In this case the app is reflecting the last successful command sent by the user on the keypad.
Always open to suggestions and feedback