Made an interesting discovery today. A āWaitā event will impact the value of %device% and %value%.
I created a couple of test scenarios that react the same:
Scenario 1 will always provide the Wait deviceās value:
Scenario 2 will provide the trigger value if the wait condition is already met, but will provide the wait value otherwise:
Log in the case the wait value is initially not met:
Message displayed:
Logs for the situation where the condition is already met:
Message displayed:
The workaround if the trigger deviceās values are always expected is to create a variable and store the values before the wait, then display the values of the variables instead of the device.