Electronic components for compressors