Complex sentence: By hanging around Itsuki, Sensui realized that demons weren't all evil, but his attitude towards humanity didn't change until one fateful night.
Split into simpler sentences: By hanging around Itsuki, Sensui realized that not all demons were evil. However, his attitude towards humanity didn't change until one fateful night.