Creating an electrical system with flow control

You should look blueprints communication examples in Content Examples project, in map “Blueprints Communication”. There are good examples of switching lights for you.