Check State of Virtual Switch

I apologize if this has been asked before, i have searched and searched and can not find an answer to my problem.

I have a schedule that runs at 3:00 am everyday.

I have a virtual switch that i want to trigger an event depending on what position it is in. When the switch is in the “off state” I want my condition to be true. If my virtual switch is in the “on position” I want my condition to be false.

How do I create a something to check the state of the switch and give a true or false condition?

Thank You

That would be a Logic Inputs > Device Property.

thanks cc4005. I done that. But when I look at the Status of everything, I see that my virtual switch has a value of 0, and not true or false? Thoughts?

Ah figured it out now! :slight_smile:

Need to check UI7 status and then I can create my condition.