Skip to content

Commit

Permalink
Ensure entity update is scheduled with event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
nemec committed Jun 3, 2022
1 parent 7803045 commit fc97c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/blueiris/managers/home_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async def _async_init(self):

await self.async_update_entry()

def _update_entities(self, now):
async def _update_entities(self, now):
self._hass.async_create_task(self.async_update(now))

async def async_update_entry(self, entry: ConfigEntry = None):
Expand Down

0 comments on commit fc97c74

Please sign in to comment.