Police and the fire service were called to the incident in a village in the Rhondda early on Wednesday morning.