def turn_off(self, **kwargs):
        if self.type == 'clean':
            self.set_graceful_lock(False)
            self._tc_object.stop_cleaning()
Functional 'if' test. Deprecated, use new Python conditional instead.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/thinkingcleaner.py/ThinkingCleanerSwitch.turn_off--crossover with--dataset/ETHPy150Open kdart/pycopia/aid/pycopia/aid.py/IF