

def turn_on(self, **kwargs):
    'Turn the switch on.'
    kwargs.smartplug.state = 'ON'

dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/dlink.py SmartPlugSwitch.turn_on/VarMisuse@15/25 `self`->`kwargs`