Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour based on an electrochromic effect caused by electrodeposition, e.g. electrolytic deposition of an inorganic material on or close to an electrode {using a solid electrolyte}