add ability to override frequency per plant and adjust timezone, fix missing workhour for plants
This commit is contained in:
@@ -69,6 +69,7 @@ interface PlantControllerConfig {
|
||||
tank: TankConfig,
|
||||
night_lamp: NightLampConfig,
|
||||
plants: PlantConfig[]
|
||||
timezone?: string,
|
||||
}
|
||||
|
||||
interface PlantConfig {
|
||||
@@ -80,6 +81,9 @@ interface PlantConfig {
|
||||
pump_hour_end: number,
|
||||
sensor_b: boolean,
|
||||
max_consecutive_pump_count: number,
|
||||
moisture_sensor_min_frequency?: number;
|
||||
moisture_sensor_max_frequency?: number;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user