

def turn_on(self, **kwargs):
    'Turn the device on.'
    kwargs.calls.append(('turn_on', kwargs))
    self._state = STATE_ON

dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py MockToggleDevice.turn_on/VarMisuse@15/25 `self`->`kwargs`