Automatic air temperature control in a container with an optic-variable wall