Skip to content

Commit

Permalink
fix for 2024.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomes committed Aug 30, 2024
1 parent e2c7cd4 commit 158489e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions custom_components/erse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):

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

for component in PLATFORMS:
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, component)
)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

async def async_simular(service):
data = {
Expand Down

0 comments on commit 158489e

Please sign in to comment.