Refactor TemperatureSensor::valueTimeToSend