     pir_Mills = millis();
   }
 }
-    
+
 void tvOnTimer()
 {
   t.stop(tvIsOffEvent);

      case 0xFF9867: // remote off
        if ( timerStatus == 1 ) {
          t.stop(tvIsOffEvent);
          t.stop(tvIsOnEvent);            
        } else {
          tvOnTimer();  
          temp_Mills = millis();
        }
        timerStatus = ! timerStatus;

          irsend.sendNEC(tv_left, 32);
          delay(300);
        }
        irsend.sendNEC(tv_enter, 32);
        break;
      case 1:
        irsend.sendNEC(tv_input, 32);
