def turn_on(self, **kwargs):
        self.calls.append(('turn_on', kwargs))
        self._state = STATE_ON
Turn the device on.
dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py/MockToggleDevice.turn_on