hy @rin67630,
OK now I understand the problem! you can’t place the set/get property directly into the setup because these features require device connection with Thinger.io server, which will be created in the first loop execution. So to solve this, you can place it into a resource (then will be executed according to server configuration) or implement a clientListener (take a look to this post), but your solution is maybe the best option.
And, the bool attribute is just to obtain property writing confirmation.
best!