def set_heater_level(self, percent):

        if percent not in range(0, 101):
            msg = '{0} is not in range 0-100'.format(percent)
            raise PercentageError(msg)
        self._heater_percent = percent
dataset/ETHPy150Open amorphic/braubuddy/braubuddy/envcontroller/dummy.py/DummyEnvController.set_heater_level/original