Page 1 of 1

switching on user var

Posted: Tuesday 03 March 2020 19:31
by netric
Hello,

I'm trying to create a tester for domoticz, in which does a series of actions, and in the end is checking if everything is in the correct state. I was planning to use a user_var to determine in what phase the test is, and what action then is needed.
But for some reason I can't get further than the next 'if statement'.
I created a smaller version which contain the same issue. It won't go to the 'if statement' with the scene_initial_phase = 2.
Can you help me what I do wrong?

Re: switching on user var

Posted: Tuesday 10 March 2020 19:07
by wouterlet
Changing a variable won't make your if work, if you make a dummy instead of a variable it might work...