"Speak of the devil" does not actually mean that a person is evil or devil-like.
It is an idiom that you use when someone you were just discussing is now present. For example, if you were speaking to your mom about your neighbor, John, and moments later, John knocked on the door.. You could say, "Speak of the devil". This implies that John (the person you were just discussing) just arrived. You could also say this phrase if John calls you on the phone or sends a text while you are talking about him to your mom.
A more formal phrase would be: "Here he is now".