I added A soil moisture sensord a new analog sensor.
the analog sensors are configured as follows
where we place the trigger thresholds for the water pump at a minimum of 1200 and a maximum of 2800