Skip to content

Commit

Permalink
v2.0.8
Browse files Browse the repository at this point in the history
forecast summary init
discussion # 246 and 248
  • Loading branch information
dave_albright committed Oct 31, 2024
1 parent 36e33bf commit a968b0d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v2.08
modify Forecast Summary sensor initialization.
when integration was loaded after 3:00 pm apparent time, None was set as value type instead of string, causing failure.
addresses issues in discussion #s [248](https://github.com/cytech/Home-Assistant-wundergroundpws/discussions/248) and [246](https://github.com/cytech/Home-Assistant-wundergroundpws/discussions/246)


v2.0.7
Move sensor translation file initialization to WundergroundPWSUpdateCoordinatorConfig in `__init__.py`
Fixes "Detected blocking call to open with args" warning
Expand Down
2 changes: 1 addition & 1 deletion custom_components/wundergroundpws/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"domain": "wundergroundpws",
"name": "Wundergroundpws",
"version": "2.0.7",
"version": "2.0.8",
"documentation": "https://github.com/cytech/Home-Assistant-wundergroundpws/",
"issue_tracker": "https://github.com/cytech/Home-Assistant-wundergroundpws/discussions/",
"requirements": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
name="Forecast Summary",
feature=FEATURE_FORECAST_DAYPART,
icon="mdi:gauge",
value_fn=lambda data, _: cast(str, data) if (data is not None) else None,
value_fn=lambda data, _: cast(str, data),
entity_registry_enabled_default=False,
),
WundergroundPWSSensorEntityDescription(
Expand Down

0 comments on commit a968b0d

Please sign in to comment.