# Advanced flow, alarm\_contact, when card and exclusions

**URL:** https://community.homey.app/t/advanced-flow-alarm-contact-when-card-and-exclusions/154523
**Category:** Flows
**Tags:** advancedflow
**Created:** [May 4, 2026, 9:17am UTC](https://community.homey.app/t/advanced-flow-alarm-contact-when-card-and-exclusions/154523 "2026-05-04T09:17:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Nicolas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolas/32/78954_2.png) [@Nicolas](https://community.homey.app/u/Nicolas)
#### Post date: [May 4, 2026, 9:17am UTC](https://community.homey.app/t/advanced-flow-alarm-contact-when-card-and-exclusions/154523/1 "2026-05-04T09:17:37Z")

</div>

Hi!

I have an advanced flow with this when card:

- In Home zone, when any alarm\_contact is running

But I want to exclude some devices, I don’t want to use all devices.

How can I do? I’ve been turning the problem over and over in my mind without finding a solution.

Thanks 🙂

---

<div class="post-metadata">

### Author: ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)
#### Post date: [May 4, 2026, 9:50am UTC](https://community.homey.app/t/advanced-flow-alarm-contact-when-card-and-exclusions/154523/2 "2026-05-04T09:50:46Z")

</div>

The Home zone, is normally the top level zone that includes all devices.

Some options:

- Use the zone card of a sub-zone/room that includes only the specific devices you want;
- If needed, you can create a separate zone with only the devices you want or to exclude a certain set of devices. This does mean that a room might be split up into several rooms;
- Alternatively, instead of using the zone card, use the trigger cards of the individual devices.

Further: you are checking all alarms right now. Not sure whether that is your intention, but you can also specify specific types of alarms (e.g. battery alarms).

---

<div class="post-metadata">

### Author: ![Nicolas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolas/32/78954_2.png) [@Nicolas](https://community.homey.app/u/Nicolas)
#### Post date: [May 4, 2026, 10:05am UTC](https://community.homey.app/t/advanced-flow-alarm-contact-when-card-and-exclusions/154523/3 "2026-05-04T10:05:12Z")

</div>

Hi,

Thanks for your reply. I can’t create sub zones for readibility reasons. (I already have 16 zones!)

I find a way ; I have renamed the only devices I want to exclude with a specific tag, that I check with a logic card “and”.

My “when” card checks only “alarm\_contact” 🙂

---

<div class="post-metadata">

### Author: ![Tom\_ten\_Den](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tom_ten_den/32/120986_2.png) [@Tom\_ten\_Den](https://community.homey.app/u/Tom_ten_Den)
#### Post date: [May 6, 2026, 6:14pm UTC](https://community.homey.app/t/advanced-flow-alarm-contact-when-card-and-exclusions/154523/4 "2026-05-06T18:14:05Z")

</div>

@Nicolas Can’t you use this setting in the sensor so that it doesn’t count towards zone activity?

 ![1000017775](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/e/ce7fa0d1d5ad2191b1e7e693cf04112736d49880.jpeg)

Excluding solar activity.

---

<div class="post-metadata">

### Author: ![Nicolas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolas/32/78954_2.png) [@Nicolas](https://community.homey.app/u/Nicolas)
#### Post date: [June 8, 2026, 9:09pm UTC](https://community.homey.app/t/advanced-flow-alarm-contact-when-card-and-exclusions/154523/5 "2026-06-08T21:09:09Z")

</div>

So sorry for my late answer.

No it doesn’t work. With the “when” card “any device vibration”, the excluded device is not excluded of this card.

But with a specific name tag, I can test the name of device and exclude it after the when card 🙂
