# Calculations in flows

**URL:** <https://community.homey.app/t/calculations-in-flows/47966>\
**Category:** Flows\
**Tags:** flow\
**Created:** [May 31, 2021, 10:22am UTC](https://community.homey.app/t/calculations-in-flows/47966 "2021-05-31T10:22:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 31, 2021, 2:50pm UTC](https://community.homey.app/t/calculations-in-flows/47966/2 "2021-05-31T14:50:25Z")

</div>

You have asynchronise “bug”.

You Set Electra Meter Eind as first, but Homey runs it asynchron (all at once, not in a sequence).  
So 3 cards later (the 4th condition card) you allready use the Electra Meter Eind tag, while it probebly will not have ben set yet!

You should increase every actioncard with a one-second-more-delay-then-the-previous-card.  
That way it will be executed in sequence (mostly, not always tho, if your Homey is busy for example).

(Or use the [H.O.O.P. (Hope) - Homey Object Oriented Programming](https://community.homey.app/t/h-o-o-p-hope-homey-object-oriented-programming/43709) App which i created to solve this kind off problem (you can choose to execute the Actioncards synchronised (sequentuel).

---

_[View the full topic](https://community.homey.app/t/calculations-in-flows/47966)._
