How does the integumentary system maintain homeostasis?

How does the integumentary system maintain homeostasis?