Hi! So I am having a problem to set the correct state in the HSM. At 10pm the "Integrated Mode Manager" changes the mode to night mode. HSM changes to armedNight but right away it changes again to disarmed as you can see in the logs below.
I replicated your setup and am unable to reproduce the problem; mine arms and stays Armed-Night with identical configuration (aside from lower delays to make testing easier). My guess is that you have some other automation (or perhaps an option elsewhere in HSM, though I can't think of anything) that is interfering with this setup. Have you checked your Apps list for anything else that could be doing this? It would most likely be some sort of rule-type app (Rule Machine rule, Basic Rule, Simple Automation Rule, etc.) or a custom app, but it could really be anything that touches HSM status or even mode.
Logs, as suggested above, could also help narrow this down, though it will depend on the the logging of your particular app. Those from HSM may be revealing if it is related to configuration there, but again, it could be coming from something else.