Skip to content

Commit

Permalink
await async_update method call (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-green authored Nov 22, 2023
1 parent 40e395c commit 2ffec73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bhyve/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _on_ws_data(self, data):

async def async_update(self):
"""Retrieve latest state."""
super().async_update()
await super().async_update()
await self._refetch_device()

@staticmethod
Expand Down

0 comments on commit 2ffec73

Please sign in to comment.