Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Fix async issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Jun 12, 2024
1 parent d35fdb4 commit 917fafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/mealie/todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async def async_added_to_hass(self) -> None:
"""When entity is added to hass update state from existing coordinator data."""
await super().async_added_to_hass()

self.coordinator.async_refresh()
await self.coordinator.async_refresh()

self._handle_coordinator_update()

Expand Down

0 comments on commit 917fafb

Please sign in to comment.