A switchable diode based on room-temperature two-dimensional ferroelectric {\alpha}-In2Se3 thin layers