Skip to content

Commit

Permalink
fix: add forecast to weather entity #3
Browse files Browse the repository at this point in the history
  • Loading branch information
chilikla authored Nov 27, 2024
1 parent 49e8f2d commit cbdbf42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/yerushamayim/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async def async_forecast_daily(self) -> list[Forecast] | None:
forecasts: list[Forecast] = []

forecast = {
"datetime": datetime.now().date().isoformat()
"datetime": datetime.now().date().isoformat(),
"condition": self.coordinator.data.status.get("condition"),
"native_temperature": float(self.coordinator.data.temperature["temperature"]),
"native_precipitation": float(self.coordinator.data.rain["precipitation"]),
Expand Down

0 comments on commit cbdbf42

Please sign in to comment.