We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 950ee0c commit 200b83fCopy full SHA for 200b83f
custom_components/eurotronic_cometblue/coordinator.py
@@ -2,6 +2,7 @@
2
3
from __future__ import annotations
4
5
+import asyncio
6
from datetime import timedelta
7
import logging
8
from typing import Any
@@ -86,6 +87,7 @@ async def send_command(
86
87
type(ex).__name__,
88
ex,
89
)
90
+ await asyncio.sleep(1)
91
except ValueError as ex:
92
raise ServiceValidationError(
93
f"Invalid payload '{payload}' for '{caller_entity_id}': {ex}"
@@ -140,6 +142,7 @@ async def _async_update_data(self) -> dict[str, bytes]:
140
142
141
143
144
145
146
except Exception as ex:
147
raise UpdateFailed(f"({type(ex).__name__}) {ex}") from ex
148
0 commit comments