The role of temperature in the photochromic behaviour