A comprehensive study on utilization of N-substituted poly(2,5-dithienylpyrrole) derivatives in electrochromic devices