Since it is highly unlikely that occupancy affect the ambient temperature, and vice versa, it is highly unlikely that one variable could stand for both.

You will probably need an equation with many variables, and that equation will probably be determined from many, many data points.