Skip to content

Commit

Permalink
fix: add forecast to weather entity #2
Browse files Browse the repository at this point in the history
  • Loading branch information
chilikla authored Nov 27, 2024
1 parent 7d5f83e commit 6401db0
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 @@ -124,7 +124,7 @@ async def async_forecast_daily(self) -> list[Forecast] | None:
"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"])ת
"native_precipitation": float(self.coordinator.data.rain["precipitation"]),
"precipitation_probability": int(self.coordinator.data.rain["precipitation_probability"])
}

Expand Down

0 comments on commit 6401db0

Please sign in to comment.