Skip to content

Commit

Permalink
Improve configuration process
Browse files Browse the repository at this point in the history
  • Loading branch information
yinyang17 committed May 4, 2024
1 parent fc1410e commit 10cc3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/pvpc_energy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async def async_setup_entry(hass, entry) -> bool:
hass.data[DOMAIN][entry.entry_id] = hass_data

await hass.async_add_executor_job(setup_hass_services, hass)
await hass.async_create_task(PvpcCoordinator.import_energy_data(hass))
hass.async_create_task(PvpcCoordinator.import_energy_data(hass))
return True

def setup_hass_services(hass) -> None:
Expand Down

0 comments on commit 10cc3b4

Please sign in to comment.