diff --git a/rust/src/config.rs b/rust/src/config.rs index 0daaf48..3190a5c 100644 --- a/rust/src/config.rs +++ b/rust/src/config.rs @@ -89,6 +89,7 @@ pub struct PlantConfig { pub pump_cooldown_min: u16, pub pump_hour_start: u8, pub pump_hour_end: u8, + pub sensor_a: bool, pub sensor_b: bool, pub max_consecutive_pump_count: u8, } @@ -101,6 +102,7 @@ impl Default for PlantConfig { pump_cooldown_min: 60, pump_hour_start: 9, pump_hour_end: 20, + sensor_a: true, sensor_b: false, max_consecutive_pump_count: 10, }