Revert "del not use"

This reverts commit 6b3c9ef9bf83f2be2eb723be394b9d5f3f63a34e.
readd thermal switch