# Behavior logic unclear

**URL:** <https://community.homey.app/t/behavior-logic-unclear/10041>\
**Category:** Questions & Help\
**Created:** [March 3, 2019, 7:05pm UTC](https://community.homey.app/t/behavior-logic-unclear/10041 "2019-03-03T19:05:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Horizon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mr_horizon/32/8322_2.png) [@Mr\_Horizon](https://community.homey.app/u/Mr_Horizon)\
**Post date:** [March 3, 2019, 7:05pm UTC](https://community.homey.app/t/behavior-logic-unclear/10041/1 "2019-03-03T19:05:51Z")

</div>

Hi,  
I am using the temp sensor of my Hue motion detector to trigger the sunshades. But while testing the flow depicted below I get an error, or at least indication that the test value is not sufficient to pass the logic card ‘value is larger than 20’. What am I missing here?

 ![12](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/47dfd1d4f2d9c8fee8d89fe8986dfe997ecd68f3.jpeg)

By the way, the 23.5 is the value in of the temp parameter in the current flow and this is then populated automatically in the test value box as 23,5.

---

<div class="post-metadata">

**Author:** ![seiko](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/seiko/32/10963_2.png) [@seiko](https://community.homey.app/u/seiko)\
**Post date:** [March 3, 2019, 7:41pm UTC](https://community.homey.app/t/behavior-logic-unclear/10041/2 "2019-03-03T19:41:49Z")

</div>

try 23.5

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [March 3, 2019, 7:44pm UTC](https://community.homey.app/t/behavior-logic-unclear/10041/3 "2019-03-03T19:44:44Z")

</div>

One thought, is the tag on the condition card the local tag defined by the trigger card?  
When you select the tag it should be under the heading of local tag. If you selected the tag from the Device then the test setting might not be setting the correct tag value.

---

<div class="post-metadata">

**Author:** ![Mr\_Horizon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mr_horizon/32/8322_2.png) [@Mr\_Horizon](https://community.homey.app/u/Mr_Horizon)\
**Post date:** [March 3, 2019, 8:08pm UTC](https://community.homey.app/t/behavior-logic-unclear/10041/4 "2019-03-03T20:08:51Z")

</div>

Thanks for the suggestions. Actually the 23,5 comes from the value of the local temp tag. This, while the trigger temp value is somewhere around 12 degrees at the moment. I have tried both combinations: And card with same temp as the trigger temp, And card with the local temp. Both flows are not getting into the Then statements, not with 22, 22.5 or 22,5.  
😫

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 3, 2019, 8:12pm UTC](https://community.homey.app/t/behavior-logic-unclear/10041/5 "2019-03-03T20:12:19Z")

</div>

![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/5752ff7d82ce069e1a64c7bc2a3eede7330a1cb0.png)

**works but using a comma doesn’t:**  
 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/1/118b650ef441729efd1822373aa69b362ac2fe70.png)

---

<div class="post-metadata">

**Author:** ![Mr\_Horizon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mr_horizon/32/8322_2.png) [@Mr\_Horizon](https://community.homey.app/u/Mr_Horizon)\
**Post date:** [March 3, 2019, 8:22pm UTC](https://community.homey.app/t/behavior-logic-unclear/10041/6 "2019-03-03T20:22:24Z")

</div>

Thanks so very much for taking the effort to verify.  
It seems that I have another problem as I can’t even get this to work:

 ![51](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/50a3acf95636b52dda5097369584bd865c66fd77.jpeg)  
Not with the temp from current flow nor with temp from trigger hue motion sensor.  
Restarted Homey, also that did not help.

---

<div class="post-metadata">

**Author:** ![Mr\_Horizon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mr_horizon/32/8322_2.png) [@Mr\_Horizon](https://community.homey.app/u/Mr_Horizon)\
**Post date:** [March 3, 2019, 8:33pm UTC](https://community.homey.app/t/behavior-logic-unclear/10041/7 "2019-03-03T20:33:18Z")

</div>

Ok all, it is totally working via the App. Via the homey web flow it is currently not. At least I can stop searching for a mistake in the logic. Also in the app the flow value 23.5 is copied like that to the test value of 23.5. In the web flow it is copied to the test value 23,5.
