refactor(easel): remove TagUtil

This commit is contained in:
2026-09-08 23:22:05 +03:00
parent f76f33b501
commit fa0edca522
11 changed files with 131 additions and 205 deletions
+2
View File
@@ -71,6 +71,8 @@ class RP5WeatherApi(WeatherApi):
for response in forecast:
if response.date == date:
return response
if date == datetime.date.today():
return WeatherResponse(location=location_id, date=date, period="day", values=[])
raise ValueError(f"Unsupported date: {date}")
async def get_days(self, location_id: str, days: int) -> WeatherResponse: