So it is reaching the loop but not actioning the relay due to not receiving the 'state'.
As a test alter the line
digitalWrite(Relay1, Lamp1_State);
to
digitalWrite(Relay1, HIGH);
and see if this fires the relay.
So it is reaching the loop but not actioning the relay due to not receiving the 'state'.
As a test alter the line
digitalWrite(Relay1, Lamp1_State);
to
digitalWrite(Relay1, HIGH);
and see if this fires the relay.