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 da05900 commit 13f0b58Copy full SHA for 13f0b58
plugwise/smile.py
@@ -5,6 +5,7 @@
5
6
from __future__ import annotations
7
8
+from asyncio import sleep
9
from collections.abc import Awaitable, Callable
10
import datetime as dt
11
from typing import Any, cast
@@ -441,6 +442,8 @@ async def set_switch_state(
441
442
return current_state
443
444
await self.call_request(uri, method="put", data=data)
445
+ sleep(1)
446
+ await self.call_request(uri, method="get", data=data)
447
return requested_state
448
449
async def _set_groupswitch_member_state(
0 commit comments