This was reported by Red Eléctrica on its Twitter page.

“The light has returned to Tenerife ... we have restored the full power supply. We apologize for any inconvenience that occurred in the last hours, ”the statement said.

Vuelve a la luz a la isla de #Tenerife. A las 22.15 h (hora local en Canarias) hemos recuperado la totalidad del suministro eléctrico. Lamentamos todas las molestias ocasionadas en las últimas horas. Seguimos trabajando para dar un servicio seguro y de calidad en toda Canarias.

- Red Eléctrica (@RedElectricaREE) September 29, 2019

Earlier on the Spanish island of Tenerife, electricity was completely cut off.