Check if PRLamps and PRCoils sections exist in YAML before looping through them.