'Turn on the switch.'

def turn_on(self, **kwargs):

    optional = [3]
    optional.extend(self.dev_id)
    optional.extend([255, 0])
    self.send_command(data=[210, 1, 0, 100, 0, 0, 0, 0, 0], optional=optional, packet_type=1)
    self._on_state = True
