Manual (MQTT) Alarm

Hi!

Does anyone have a config exemple / is it possible to make 2 door sensoes triggering the alarm direct, and 1 wait the 40 sec?

Do i need to make a automation with delay orso on the 40 sec and no delay on the other doors?