Skip to content

Commit

Permalink
Merge branch 'main' into 126-api-provides-hourly-neerslag-in-mm-yet-r…
Browse files Browse the repository at this point in the history
…eported-incorrectly-in-ha-as
  • Loading branch information
golles authored Mar 17, 2024
2 parents a4d2767 + 8811bd2 commit 7110710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
body: |
If you like this integration, please star this repo to show your appreciation - it makes me very happy!
Expand Down
5 changes: 1 addition & 4 deletions custom_components/knmi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
_LOGGER.debug("Migrating from version %s", config_entry.version)

if config_entry.version == 1:
# Replace with the following line after 2024.3.
# hass.config_entries.async_update_entry(config_entry, version=2)
# See https://developers.home-assistant.io/blog/2024/02/12/async_update_entry/
config_entry.version = 2
hass.config_entries.async_update_entry(config_entry, version=2)

entity_registry = er.async_get(hass)
existing_entries = er.async_entries_for_config_entry(
Expand Down

0 comments on commit 7110710

Please sign in to comment.