We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1c42e commit 51a7f7dCopy full SHA for 51a7f7d
1 file changed
custom_components/enpal_webparser/button.py
@@ -17,6 +17,7 @@
17
# See README.md for setup and usage instructions.
18
#
19
20
+import asyncio
21
from functools import cached_property
22
import logging
23
@@ -91,6 +92,9 @@ async def async_press(self):
91
92
except Exception as e:
93
_LOGGER.exception("[Enpal] Wallbox request failed: %s", e)
94
95
+ # Wait a moment to allow the wallbox to process the change
96
+ await asyncio.sleep(2)
97
+
98
await self._hass.services.async_call(
99
"homeassistant",
100
"update_entity",
0 commit comments