1) Give a description of the problem
I have multiple similar pistons. To simplify duplication, I use the “define” area quite a bit. I cannot figure out if it’s possible to use this to define the name of a variable. Easier to show in pic form…
2) What is the expected behaviour?
Can I use this area…
… to define which variable (the actual variable, not it’s value) over here…
… so that I can define the variable…
TESTVARIABLE = @maxtemp_bedroom
…have a bit of code saying something like…
if temp changes
set TESTVARIABLE to (current-time)
endif
…and this would actually change the value of @maxtemp_bedroom to the current time ?
The reason for this is to be able to alter a single definition at the start of the piston without needing to alter multiple references.
Don’t even know if this is possible, I certainly can’t find a way, so thought I’d probably get a quick “nope, forget it” if it’s a no go! =p
3) What is happening/not happening?
n/a
4) Post a Green Snapshot of the piston
n/a
5) Attach logs after turning logging level to Full
n/a
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.