I let out a property. Am I liable if something goes wrong with the electrics?

You are liable as a landlord for the safety of your tenants, so regular inspections of 5 years or change of occupancy are recommended to ensure the installation is safe.