Skip to content

Commit

Permalink
Remove double write on startup (#1616)
Browse files Browse the repository at this point in the history
recurring_tasks_installed and startup_tasks were both
writing the data.
  • Loading branch information
bdraco authored Oct 29, 2020
1 parent 36e18b1 commit 09e4017
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/hacs/hacsbase/hacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ async def startup_tasks(self, _event=None):
self.status.background_task = False
self.hass.bus.async_fire("hacs/status", {})
await self.async_set_stage(HacsStage.RUNNING)
await self.data.async_write()

async def handle_critical_repositories_startup(self):
"""Handled critical repositories during startup."""
Expand Down

0 comments on commit 09e4017

Please sign in to comment.