19.09.2022, 06:11
Use this:
In your case enable/disable variables are not defined (nil) so both script.set calls disable the script.
Code:
state = grp.getvalue('1/4/5')
script.set('12.01 Check if Light can turn Off', state)
In your case enable/disable variables are not defined (nil) so both script.set calls disable the script.