public static List <ZclCommandParam> GetClusterCommandParams(ushort clusterId, byte cmdId) { return(ClusterCommands.Single(c => c.Id == cmdId && c.Cluster.Id == clusterId).Params); }
public static ZclClusterCommand GetClusterCommand(string cluster, string cmd) { return(ClusterCommands.Single(fc => fc.Cluster.Equals(cluster) && fc.Name.Equals(cmd))); }