PLEG > use status of devise properties

I have been searching all day for this and can’t find anything in discussions and manuals. Probably a too basic question to be discussed anywhere but than again I am just starting to (try to) work with PLEG.

So what I want to do in a condition is to use the device property of the Virtual Switch - I want something to happen when the switch is on and not when it is off. In Logic Input I have set a device property for the Virtual Switch. and created a device property for the Virtual Switch and use “status”. So that is my P1.

I have figured out that the status of this Switch is 0 when it is off and 1 when it is on.

Than I go to Conditions but that is where I am lost. How do I than tell the Condition to check whether the P1 is a 0 or a 1 - i.e. whether the Virtual Switch is off or on? This is the part that I can’t figure out.

Thanks for your help.

Try using a trigger, with the condition being true when the trigger is true.