I would first code each half without the radio modules to ensure that the code is doing what you think it is.
You can use Serial to send and receive chars in the monitor and see what's going on by adding
"Serial.println("Light on");
And so forth before integrating the wireless connection.
To see how to do that, look up "serial input basics robin2" and check out the excellent guide in this forum. I'd link it but I'm on my phone and don't know how to link forum app pages in other forum threads