Add weather summary

This commit is contained in:
2024-03-04 01:49:28 +00:00
parent 4aaa9064fb
commit d396ec785f
5 changed files with 197 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
export interface WeatherAggregates {
humidity: WeatherAggregate;
temperature: WeatherAggregate;
pressure: WeatherAggregate;
light: WeatherAggregate;
windSpeed: WeatherAggregate;
windDirectionAverage: number;
rainTotal: number;
}
export interface WeatherAggregate {
min: number;
max: number;
average: number;
}