mirror of
https://github.com/eliasrenman/gardentron.git
synced 2026-03-16 20:46:07 +01:00
17 lines
301 B
TypeScript
17 lines
301 B
TypeScript
export type Configuration = {
|
|
timeout: number;
|
|
threshold: number;
|
|
check_interval: number;
|
|
moisture: Moisture;
|
|
water_low: boolean;
|
|
};
|
|
|
|
export type Moisture = {
|
|
thresholds: Thresholds;
|
|
};
|
|
|
|
export type Thresholds = {
|
|
lower: { [key: string]: number };
|
|
upper: { [key: string]: number };
|
|
};
|