# Flow based on users in an advanced mode, e.g. all users except one

**URL:** <https://community.homey.app/t/flow-based-on-users-in-an-advanced-mode-e-g-all-users-except-one/131149>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [February 20, 2025, 4:17pm UTC](https://community.homey.app/t/flow-based-on-users-in-an-advanced-mode-e-g-all-users-except-one/131149 "2025-02-20T16:17:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alee\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alee_h/32/122441_2.png) [@Alee\_H](https://community.homey.app/u/Alee_H)\
**Post date:** [February 20, 2025, 4:17pm UTC](https://community.homey.app/t/flow-based-on-users-in-an-advanced-mode-e-g-all-users-except-one/131149/1 "2025-02-20T16:17:31Z")

</div>

Hi there,

I would like to set up some flows based on users’ presences. Here are a couple of situations that I am interested in:

- All users except a specific user
- All guests
- Family members except guests
- and …

Can you help me to trigger a flow based on any of these conditions?

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [February 20, 2025, 5:51pm UTC](https://community.homey.app/t/flow-based-on-users-in-an-advanced-mode-e-g-all-users-except-one/131149/2 "2025-02-20T17:51:15Z")

</div>

I have not seen any WHEN or AND cards with user groups like “guests” or “family”.  
So it is not possible. You have to enumerate all users like:

```auto
WHEN any user comes home
And username == xxxxx OR username==yyyyy
THEN switch on television

```
