From b7bd7321d75414d2bf0955bf88ea8681749de747 Mon Sep 17 00:00:00 2001 From: Daniel Raper Date: Thu, 21 Nov 2024 13:55:51 +0000 Subject: [PATCH] Bug fix with approve button --- custom_components/ohme/button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/ohme/button.py b/custom_components/ohme/button.py index 0671d48..b815be4 100644 --- a/custom_components/ohme/button.py +++ b/custom_components/ohme/button.py @@ -43,4 +43,4 @@ async def async_press(self): await self._client.async_approve_charge() await asyncio.sleep(1) - await self._coordinator.async_refresh() + await self.coordinator.async_refresh()