Log to timeline after variable calculation

I’m not sure where to post this exactly I just wanted to save somebody else the hassle because I couldn’t find the solution online and it cost me half an hour.

If you increment a variable in a flow, and want to log it to the timeline afterwards, it’s not enough to add the “log to timeline” card after the logic calculation card, you also need to wait a second.

See this screenshot (I’m counting diaper changes per day :smiley: )

I was always assuming that the cards were processed sequentially, apparently that’s not the case.

1 Like

Indeed, in a Standard Flow, Homey executes all cards in the same section (e.g. AND / THEN) in parallel. In an Advanced Flow you can daisy chain flowcards, making them run in series.

2 Likes