From 1st July 2020 a tenant must be provided with a valid electrical safety certificate prior to entering into an AST for the property (as well as a How to Rent Guide, EPC and gas safety certificate which are all current requirements).
Danielle Cohen’s article sets out the electrical requirements in more detail.