Completed Add/Edit SensorForm.