From 2dea925300d3b72073c6ec4c05b534bc88640126 Mon Sep 17 00:00:00 2001 From: Jeremy Green Date: Sun, 29 Oct 2023 23:41:02 -0400 Subject: [PATCH] await async_update method call --- 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