# Vallhorn Flow "AND" option

**URL:** https://community.homey.app/t/vallhorn-flow-and-option/134758
**Category:** Flows
**Tags:** tradfri
**Created:** [April 15, 2025, 7:17pm UTC](https://community.homey.app/t/vallhorn-flow-and-option/134758 "2025-04-15T19:17:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Trimix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/trimix/32/113660_2.png) [@Trimix](https://community.homey.app/u/Trimix)
#### Post date: [April 15, 2025, 7:17pm UTC](https://community.homey.app/t/vallhorn-flow-and-option/134758/1 "2025-04-15T19:17:53Z")

</div>

Hi, I’m working with two Vallhorn Devices, for simplicitys sake call them “1” and “2”.  
Vallhorn 1 is responsible for Motion, and Vallhorn 2 is just a light meter.  
the flow is pretty straightforward: WHEN Vallhorn 1 detects Motion THEN turn on light X - this works without any problems.

now i only want to turn on the light if its “dark enough”:  
WHEN Vallhorn 1 detects Motion AND Vallhorn 2 luxmeter is less than x THEN turn on light X .

The Problem:  
Options regarding the Luxmeter in the Vallhorn Card is only available in the WHEN section but not in the AND section.

am i missing something? i would understand that a query for One device can only be either motion or light, but thats not what im trying to do. i simply want to ask another device about the light.

any tips, tricks or workaround for that situation?  
thanks

---

<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: [April 15, 2025, 7:27pm UTC](https://community.homey.app/t/vallhorn-flow-and-option/134758/2 "2025-04-15T19:27:39Z")

</div>

Use a AND Logic card and use the tag “lux” from the luxmeter.

---

<div class="post-metadata">

### Author: ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)
#### Post date: [April 15, 2025, 7:40pm UTC](https://community.homey.app/t/vallhorn-flow-and-option/134758/3 "2025-04-15T19:40:39Z")

</div>

Something like

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/1/d14a5461e4af451e7f7f034bae59734a66834af1.png)

---

<div class="post-metadata">

### Author: ![Trimix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/trimix/32/113660_2.png) [@Trimix](https://community.homey.app/u/Trimix)
#### Post date: [June 30, 2025, 3:51pm UTC](https://community.homey.app/t/vallhorn-flow-and-option/134758/4 "2025-06-30T15:51:45Z")

</div>

Thank You.  
(better late than never)
