Take a look at the attached. You’ll see setting the variable you defined to the arg from the other system however you could use that to set device status as well.