Solid-state electrochromic device based on two poly(thiophene) derivatives