'Turn the switch on.'

def turn_on(self, **kwargs):

    from pymystrom import exceptions
    try:
        self.plug.set_relay_on()
    except exceptions.MyStromConnectionError:
        _LOGGER.error("No    route    to    device    '%s'.    Is    device    offline?", self._resource)
