Control of temperature without auxiliary power with sensing element responsive to pressure or volume changes in a confined fluid