How to reach Temperature from Different Sensors via Virtual Switch?

Maybe this example will help you