They both have a type field, and you just have yours mixed up. For the ElectricGripperController the type should be "GripperCommand". Your other configs in that yaml are wrong also.