Solid state Gd–Mg electrochromic devices with ZrO2Hx electrolyte