refactor/plant-state-handling #11

Merged
EmpirePhoenix merged 5 commits from refactor/plant-state-handling into develop 2025-04-25 19:35:52 +02:00
Showing only changes of commit d9c3d4e13c - Show all commits

View File

@ -89,6 +89,7 @@ pub struct PlantConfig {
pub pump_cooldown_min: u16, pub pump_cooldown_min: u16,
pub pump_hour_start: u8, pub pump_hour_start: u8,
pub pump_hour_end: u8, pub pump_hour_end: u8,
pub sensor_a: bool,
pub sensor_b: bool, pub sensor_b: bool,
pub max_consecutive_pump_count: u8, pub max_consecutive_pump_count: u8,
} }
@ -101,6 +102,7 @@ impl Default for PlantConfig {
pump_cooldown_min: 60, pump_cooldown_min: 60,
pump_hour_start: 9, pump_hour_start: 9,
pump_hour_end: 20, pump_hour_end: 20,
sensor_a: true,
sensor_b: false, sensor_b: false,
max_consecutive_pump_count: 10, max_consecutive_pump_count: 10,
} }