Researchers have discovered that a form of perovskite, one of the hottest materials in solar research currently due to its high conversion efficiency, works surprisingly well as a stable and photoactive semiconductor material that can be reversibly switched between a transparent state and a non-transparent state, without degrading its electronic properties.