   smartthing.send(statusUpdate);
   statusUpdate = "";
 }
+
 void sendPumpUpdate() {
-  if (isConfigPump) {
-    smartthing.send("pumpAdded");
-  }
   if (!isConfigPump) {
     smartthing.send("pumpRemoved");
   }
-}
+  if (configPumpStatus == "on") {
+    smartthing.send("onPump");
+  }
+  if (configPumpStatus =="off" && isConfigPump) {
+    smartthing.send("offPump");
+  }
+}

  if (strcmp(inValue[0],"pump")==0) {
    if (strcmp(inValue[1],"1")==0) {
      isConfigPump = true;
      stations = relays - 1;
    }
    if (strcmp(inValue[1],"0")==0) {
      isConfigPump = false;
      stations = relays;
    }
    schedulePumpUpdate();
  }

/**
* 
 ****************************************************************************************************************************
 * Irrigation Controller v2.51
 * Simple, elegant irrigation controller that takes advantage of the cloud and SmartThings ecosystem
 * Arduino UNO with SmartThings Shield  and an 8 Relay Module
 * Works by receiving irrigation run times from the Cloud and then builds a queue to execute
