Allow adding multiple modes in the "if alarm is in mode" condition

As an admin,
I want to be able to select multiple modes in the condition « if alarm is in mode »,
so that I can perform common processing and avoid having to recreate a « duplicate » scene.

Ex : when I come home, whether the alarm is armed or partially armed, it should be deactivated.

I’m pasting my reply from another thread here: