Skip to content

Commit

Permalink
Merge pull request #70 from figorr/patch-1
Browse files Browse the repository at this point in the history
Sorry for the delay, will merge now!

Thanks 👍
  • Loading branch information
barleybobs authored Sep 17, 2024
2 parents a90654a + 0116d45 commit f5dadc6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions custom_components/ecowater_softener/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ async def async_setup_entry(
hass.data[DOMAIN][entry.entry_id] = hass_data

# Forward the setup to the sensor platform.
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 All @@ -51,4 +50,4 @@ async def async_unload_entry(
if unload_ok:
hass.data[DOMAIN].pop(entry.entry_id)

return unload_ok
return unload_ok

0 comments on commit f5dadc6

Please sign in to comment.