From 2ffec739d0acd26f738196e5eba7643fb5ef9174 Mon Sep 17 00:00:00 2001 From: Jeremy Green Date: Wed, 22 Nov 2023 16:49:27 -0500 Subject: [PATCH] await async_update method call (#229) --- custom_components/bhyve/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/bhyve/sensor.py b/custom_components/bhyve/sensor.py index 905a889..2b29162 100644 --- a/custom_components/bhyve/sensor.py +++ b/custom_components/bhyve/sensor.py @@ -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