Skip to content

Commit

Permalink
Fixed a nag about async_forward_entry_setups
Browse files Browse the repository at this point in the history
  • Loading branch information
jesmak committed Jul 4, 2024
1 parent a2ab81b commit 5ff961a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions custom_components/tankille/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ async def async_update_data():

hass.data[DOMAIN][entry.entry_id] = coord

hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "sensor")
)
await hass.config_entries.async_forward_entry_setups(entry, ["sensor"])

return True

Expand Down
2 changes: 1 addition & 1 deletion custom_components/tankille/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"iot_class": "cloud_polling",
"name": "Tankille",
"requirements": [],
"version": "1.0.1"
"version": "1.0.2"
}

0 comments on commit 5ff961a

Please sign in to comment.