1. A method for optimizing time and complexity during an interoperation of at least two smart sensing heterogeneous devices operating in a smart environment, wherein each of the at least two smart sensing heterogeneous devices is configured to at least one predetermined characteristic for the smart environment with a dynamic degree of prioritization in interoperation, the method comprising computer implemented steps of: a) negotiating device capability of each of the at least two smart sensing heterogeneous devices detected during the device discovery, wherein a negotiation is facilitated through a device manager of an edge gateway system communicatively coupled with the at least two smart sensing heterogeneous devices; b) creating a generic device attributes (GDA) structure of each of the at least two smart sensing heterogeneous device during device capability negotiation of device discovery; c) performing a semantic analysis on a quantity of content of the GDA structure of each of the at least two smart sensing heterogeneous devices by the device manager of the edge gateway system; d) generating a device cluster of the at least two smart sensing heterogeneous devices commensurate with a corresponding generic device attribute of each of the at least two smart sensing heterogeneous devices; and e) forming a plurality of classes by combining each generated device cluster, each of the plurality of classes facilitating quick prioritization while choosing a correct device of the at least two smart sensing heterogeneous devices for a given type of interaction, thereby facilitating device interoperation.