1) Give a description of the problem
I am attempting to write a piston to warn us when Smoke or CO2 is detected with our Zwave smoke/co2 detectors. I have am example piston but I am having a hard time trying to figure out how do I set a variable in the piston. In the example the code is in a when true block. But for the life of me I cannot figure out how to get the following statement in the piston, x2 Set variable {@smokeAlarms} = true
2) What is the expected behavior?
(PUT YOUR INFO HERE)
3) What is happening/not happening?
(PUT YOUR INFO HERE)
4) Post a Green Snapshot of the piston
(UPLOAD YOUR IMAGE HERE)
5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS)
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.