What Real Decreto 742/2013 covers, and what it leaves alone
The state framework is Real Decreto 742/2013, of 27 September, which sets the technical and public-health criteria for swimming pools and was published in the BOE of 11 October 2013. Read it and you find a public-health instrument: water quality, treatment, sampling, records, the information a bather is entitled to see. It was written for pools that groups of people use, and nearly all of it applies only to those.
A single-family pool at a private house is left outside most of it. The one article that reaches the private owner is article 13, which requires health incidents to be reported to the health authority. That is the whole of the duty. There is nothing in the decree about barriers, fences, alarms or covers, because protecting a child from the water is simply not the subject the text is dealing with.
This is worth holding on to when somebody tells you that a cover is required by Real Decreto 742/2013. The decree is real and the reference sounds solid, but the conclusion does not follow from the text. Beyond that single reporting duty, nothing in the decree classifies a cover as a compulsory safety device, and nothing in it obliges you to put anything at all over the water.

