I need help in a while, urgent

I’m programing a domotic house controlled by bluetooth with an application from your mobile phone, but now I have an error, I’m trying to make an automatic light with an ldr sensor, when you activate the auto mode with your phone, but the problem is that the while that i have doesn’t repeat the sensor input and the light doesn’t turn on or off.
Here is the code, sorry for my bad codding skills and english.

String entrada; 
int luzc = 12;
int luzf = 11;
int LDR = A0;
int valorLDR = 0;

void setup() {
pinMode(LDR,INPUT);
pinMode(luzc, OUTPUT);
pinMode(luzf, OUTPUT); 
Serial.begin(9600);
} 


void loop() {
  while (Serial.available())
  { 
  delay(10); 
  
  char c = Serial.read(); 
  entrada += c; 
  }  
  if (entrada.length() > 0)
  {
    Serial.println(entrada); 
       if(entrada == "luz1"){
         digitalWrite(luzc, HIGH);
         digitalWrite(luzf, HIGH);
        }
       if(entrada == "luz2"){
        digitalWrite(luzc, LOW);
        digitalWrite(luzf, LOW);
        }
       if(entrada == "luzhab1"){
        digitalWrite(luzf, HIGH);
        }
       if(entrada == "luzhab2"){
        digitalWrite(luzf, LOW);
        }  
        if(entrada == "luzsal1"){
        digitalWrite(luzc, HIGH);
        }
       if(entrada == "luzsal2"){
        digitalWrite(luzc, LOW);
        }  
//////////////////////////////////////////////////////////////        
        if(entrada == "luz3"){
          while (entrada != "luz1" or "luz2"){
while (Serial.available())
  { 
  delay(10); 
  char c = Serial.read(); 
  int valorLDR = analogRead(LDR);
  entrada += c; 
  }  
   int valorLDR = analogRead(LDR); Serial.println(valorLDR);
//  if (entrada.length() > 0)
 // {
    Serial.println(entrada);
 ///////////////////////////////////////////////////////////

        if(valorLDR < 500) {
        digitalWrite(luzc, HIGH);
        }
        if(valorLDR > 500) {
        digitalWrite(luzc, LOW);
        }
        if (entrada = "luz1" or "luz2"){
          break;}
        entrada ="";
//  }
  delay(200);
  
   valorLDR = analogRead(LDR); Serial.println(valorLDR);
        }

//////////////////////////////////////////////////////////// 
         
        }
//////////////////////////////////////////////////////////// 
entrada="";
}
}

  if (entrada = "luz1" or "luz2"){oops x 2

Please remember to use code tags when posting code