Skip to content

Commit

Permalink
Fix HeatStress problem (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyKh authored Jun 8, 2023
1 parent 8778623 commit c996b84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions custom_components/ims/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"documentation": "https://github.com/t0mer/ims-custom-component",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/t0mer/ims-custom-component/issues",
"requirements": ["weatheril>=0.31.0"],
"version": "0.1.14"
"requirements": ["weatheril>=0.31.1"],
"version": "0.1.15"
}
2 changes: 1 addition & 1 deletion custom_components/ims/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def forecast(self):
ATTR_FORECAST_TIME: hourly_forecast.forecast_time.astimezone(
pytz.UTC
).isoformat(),
ATTR_FORECAST_NATIVE_TEMP: hourly_forecast.temperature,
ATTR_FORECAST_NATIVE_TEMP: hourly_forecast.precise_temperature,
ATTR_FORECAST_NATIVE_TEMP_LOW: daily_forecast.minimum_temperature,
ATTR_FORECAST_CONDITION: WEATHER_CODE_TO_CONDITION[last_weather_code],
ATTR_FORECAST_NATIVE_PRECIPITATION: hourly_forecast.rain,
Expand Down

0 comments on commit c996b84

Please sign in to comment.