# Better logic multiple trigger

**URL:** <https://community.homey.app/t/better-logic-multiple-trigger/40114>\
**Category:** Questions & Help\
**Created:** [December 30, 2020, 2:07pm UTC](https://community.homey.app/t/better-logic-multiple-trigger/40114 "2020-12-30T14:07:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Scholte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_scholte/32/16562_2.png) [@Paul\_Scholte](https://community.homey.app/u/Paul_Scholte)\
**Post date:** [December 30, 2020, 2:07pm UTC](https://community.homey.app/t/better-logic-multiple-trigger/40114/1 "2020-12-30T14:07:04Z")

</div>

I use Better Logic to trigger flows when one or more variables change. But when two or more variables change at the same time the flow is triggered multiple times also. I have solved this by using a timer. In combination with a trigger variable in Better Logic.  
Is there a more elegant way of solving this problem?

Here is an example of my current solution:  
[https://homey.app/f/CDFOPq](https://homey.app/f/CDFOPq)

All variables have been defined in Better Logic  
Dagdeel is a string variable and can take the values Ochtend, Overdag and Avond.  
Afwezig, We\_Slapen, Het\_is\_Donker are booleans.  
In particular the variables Dagdeel and We\_Slapen will change simultaneously regularly as the string Dagdeel is set to “Ochtend” when the boolean We\_Slapen flips to True.

I would appreciate suggestions very much.

kind regards,  
Paul
