There can be a temperature sensor in android devices, but it senses the temperature of the battery, not the outside temperature. It would not provide an accurate gauge for that purpose. I'm not sure how an ambient light sensor would help with temperature, it can be very bright out but it could be in an air conditioned room.