Thank you so much! I’m starting to wonder if my mother dropped me on my head when I was a kid, cause I’m struggling with this. I must have missed one of the first logic steps here. I’ve read Getting started - Logic variables as well, but I’m still not getting it right.
This is what I’ve done:
-
Created a logic variable called “CO2-Average” and assigned it the number value 1.
-
Created a new flow called “Average CO2 living room” set the “When” card to “The CO2-level has changed”
-
Set the “Then” card to “Logic: Calculate a numeric variable”. Selected the logic variable “CO2-Average” in field number 1. Written {{“CO2-Average”*5+“CO2”)/5}} in field number two. The words in “” being the selected variables.
-
Sent a test message to my phone, with the “CO2-Average” value.
The message I receive says that “CO2-Average” is 1.
I’ve tried starting the “Then” section of this flow with “Set a numeric variable”, and setting the CO2-level to be the value of “CO2-Average”, but then the flow returned a number that was way too low.