Skip to content

Commit

Permalink
Merge pull request #172 from nemec/master
Browse files Browse the repository at this point in the history
Ensure entity update is scheduled with event loop
  • Loading branch information
kramttocs authored Jun 13, 2022
2 parents a4babdc + fc97c74 commit 9854117
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 9854117

Please sign in to comment.