* Use interpolated forecast data to update current weather data, refactor weather provider code * Fix interpolation between locations * Fix copypaste error message for open meteo http * Fix error display * Show interpolated time * Fix position forecasts after refactoring * fix #84: Add lerpAngle * fix #85: Fix weather widget shows wind direction rotated by 180 degrees * Make red background color slightly lighter to improve contrast
11 lines
306 B
Kotlin
11 lines
306 B
Kotlin
package de.timklge.karooheadwind.weatherprovider
|
|
|
|
import de.timklge.karooheadwind.WeatherDataProvider
|
|
import kotlinx.serialization.Serializable
|
|
|
|
@Serializable
|
|
data class WeatherDataResponse(
|
|
val error: String? = null,
|
|
val provider: WeatherDataProvider,
|
|
val data: List<WeatherDataForLocation>,
|
|
) |