Python; Create new circuit in panel and assign electrical elements to circuit

Damn I still get the errormessage.