Room-temperature electrically switchable spin–valley coupling in a van der Waals ferroelectric halide perovskite with persistent spin helix