 struct condition conditions[]= {
   {0,&adArr[0],&variables[0],&variables[1],&outIoArr[0], 0,METHOD_TURNON},       // start boiler if it is under 24.5, and off when it has reached 26.0
   {1,&adArr[2],&variables[3],&variables[0],&variables[2],0,METHOD_CHANGELIMIT},  // if hothousewater is under hhboil, then boilTemp should be boilReduced.
-  {2,&adArr[1],&variables[5],&variables[4],radiatorTab,  0,METHOD_TABLE}        // changes in ambient will change radiatorReq with the help of radiatorAdd variable and radiatorTab table.
+  {2,&adArr[1],&variables[4],NULL,radiatorTab,           0,METHOD_TABLE}         // changes in ambient will change radiatorReq with the help of radiatorAdd variable and radiatorTab table.
 };
 
 


  for (int i=0;i<sizeof(conditions) / sizeof(struct condition);i++) {
    if (conditions[i].source == source) {
      if (ts - conditions[i].last_chk < 30)
	return;
      conditions[i].last_chk = ts;
      value=source->measured.analog;
      limit=conditions[i].limit->value;

      case METHOD_TABLE:
	// calculate target
	iTable=(struct convert *) conditions[i].target;
	float target=resolveConversion(value,conditions[i].limit->value,iTable);
	bp1.setTarget(target);
	if (!bp1.turnBypass(ts))
	  conditions[i].source->flags &= ~FLAGS_EVALUATE;
	break;
      }
    }
  }
}

/* find boundings from conversion table
 * and convert / interpolate according to the table
