docs: def _verify_temperature(self, temp):
          """Verifies that the temperature is valid.
              :raises TemperatureException: On invalid temperature.
          """
          if temp < self.min_temp or temp > self.max_temp:
              raise TemperatureException('Temperature {} out of range [{}, {}]'
                                         .format(temp, self.min_temp, self.max_temp))