Skip to content

Commit

Permalink
Fix async setup platforms warning (#28)
Browse files Browse the repository at this point in the history
* Fixed warning
  • Loading branch information
iprak authored Feb 2, 2023
1 parent ee0ff28 commit d76e963
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 3 deletions.
Empty file modified .editorconfig
100644 → 100755
Empty file.
9 changes: 7 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Normalize line endings to LF in the repository
* text eol=lf
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Declare files that will always have CRLF line endings on checkout.
*.py text eol=crlf

*.sh text eol=lf
Empty file modified .github/workflows/validate.yml
100644 → 100755
Empty file.
Empty file modified custom_components/__init__.py
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion custom_components/weatherapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):

entry.async_on_unload(entry.add_update_listener(_async_update_listener))
hass.data[DOMAIN][entry.entry_id] = coordinator
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

return True

Expand Down
Empty file modified custom_components/weatherapi/config_flow.py
100644 → 100755
Empty file.
Empty file modified custom_components/weatherapi/translations/en.json
100644 → 100755
Empty file.
Empty file modified custom_components/weatherapi/translations/sk.json
100644 → 100755
Empty file.
Empty file modified tests/conftest.py
100644 → 100755
Empty file.
Empty file modified tests/response.json
100644 → 100755
Empty file.
Empty file modified tests/test_config_flow.py
100644 → 100755
Empty file.
Empty file modified tests/test_init.py
100644 → 100755
Empty file.
Empty file modified tests/test_sensor.py
100644 → 100755
Empty file.

0 comments on commit d76e963

Please sign in to comment.