def __init__(self, username=None, password=None, service_url=None,
                 token=None, retries=None, timeout=None):
        self.logger = logging.getLogger('testmill')
        self.username = username
        self.password = password
        self._set_url(service_url)
        self.token = token
        self.retries = retries or self.default_retries
        self.timeout = timeout or self.default_timeout
        self.connection = None
        self._cookie = None
        self._project = None
        self._total_retries = 0
Turn the device off.
dataset/ETHPy150Open ravello/testmill/lib/testmill/ravello.py/RavelloClient.__init__--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/thinkingcleaner.py/ThinkingCleanerSwitch.turn_off