code: async def turn_on(self, switch=None):
          
          if switch is not None:
              switch = codecs.decode(switch.rjust(2, '0'), 'hex')
              packet = self.protocol.format_packet(b"\x10" + switch + b"\x01")
          else:
              packet = self.protocol.format_packet(b"\x0a")
          states = await self._send(packet)
          return states
docs: Turn on relay.