I guess if you are wanting to predict only on inside values, you could take the lag of your temp (not the in/out value) and use that as a feature instead?
(The reason you are currently seeing the error is because you are predicting using a variable that only has only one class - In. Even when you lag that variable, it never changes. So there is nothing the model can predict with.)