HomeyScript & Advanced Flow (Paramters, Return Value) Basics

Hi, I use homey pro 2019. I will read 3 Args from the Advanced-Flow (temp, hum), clac somethin and return a setpoint value back to the adnavced flow. has anybody an example how to do this?

use the logic card Calculate. What do you want to calculate?

I want exactly that way for diffe kinds if applications in tje futur.

Actually i want to get values to the script and back to a tag via argumants and return values.