mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Add weather summary
This commit is contained in:
15
WebDisplay/src/models/weather/weather-aggregates.ts
Normal file
15
WebDisplay/src/models/weather/weather-aggregates.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user