Hi all,
I would like to set HA Alarm Panel can only be activated after all doors (Door 1 & Door 2) are confirmed closed.
In my system, Alarm Panel can be activated either via MQTT physical switch (Alarm Manual Button) or HA Alarm Panel Keypad.
Scenario:
- All doors are closed -> User activate Alarm Panel via MQTT physical switch or HA Alarm Panel Keypad -> Alarm Panel is activated.
- One of the doors are not closed -> User activate Alarm Panel via MQTT physical switch or HA Alarm Panel Keypad -> Alarm Panel is NOT activated and should prompts “Door X is not closed” notifications.
In Scenario 1, it is working fine.
In Scenario 2, when I turn on via Alarm Button, although Alarm Panel is not activated, but Alarm Button state is turned on giving impression that Alarm Panel is activated. Next, turn on via HA Alarm Panel Keypad cannot check condition whether all doors are confirmed closed. So, Alarm Panel will activate in whatever situation.
So, how could I implement a checking mechanism for all doors are confirmed closed, before a user can be allowed turned on Alarm Panel via MQTT physical switch (Alarm Manual Button) or HA Alarm Panel Keypad?
Thanks.