Skip to content

Commit

Permalink
fix: add forecast to weather entity #7
Browse files Browse the repository at this point in the history
  • Loading branch information
chilikla authored Nov 27, 2024
1 parent 090f276 commit 018aee9
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 @@ -127,7 +127,7 @@ async def async_forecast_daily(self) -> list[Forecast] | None:
datetime=datetime.now().isoformat(),
condition=self.coordinator.data.status.get("condition"),
native_temperature=float(self.coordinator.data.temperature["temperature"]),
native_templow=float(self.coordinator.data.rain["precipitation"]),
precipitation=float(self.coordinator.data.rain["precipitation"]),
precipitation_probability=int(self.coordinator.data.rain["precipitation_probability"])
)]

Expand Down

0 comments on commit 018aee9

Please sign in to comment.