22 lines
508 B
TypeScript
22 lines
508 B
TypeScript
import { AdjustmentMethod, AdjustmentMethodResponse } from "./AdjustmentMethod";
|
|
|
|
|
|
/**
|
|
* Does not change the watering scale (only time data will be returned).
|
|
*/
|
|
async function calculateManualWateringScale( ): Promise< AdjustmentMethodResponse > {
|
|
return {
|
|
scale: undefined,
|
|
rawData: {
|
|
weatherProvider: "Manual",
|
|
},
|
|
wateringData: undefined
|
|
}
|
|
}
|
|
|
|
|
|
const ManualAdjustmentMethod: AdjustmentMethod = {
|
|
calculateWateringScale: calculateManualWateringScale
|
|
};
|
|
export default ManualAdjustmentMethod;
|