More changes to TemperatureSensor

Add support for internal ambient temperature sensor.
Fix typo in previous commit.