Skip to content

Commit ab00c2c

Browse files
committed
Updated wait task names for open & close
1 parent 4b10239 commit ab00c2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymyq/garagedoor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def close(self, wait_for_state: bool = False) -> Union[asyncio.Task, bool]
8181
current_state=tuple(STATE_OPENING),
8282
new_state=tuple(STATE_OPEN),
8383
last_state_update=self.device_json["state"].get("last_update"),
84-
), name="MyQ_Authenticate",
84+
), name="MyQ_WaitForClose",
8585
)
8686
if not wait_for_state:
8787
return wait_for_state_task
@@ -107,7 +107,7 @@ async def open(self, wait_for_state: bool = False) -> Union[asyncio.Task, bool]:
107107
current_state=tuple(STATE_OPENING),
108108
new_state=tuple(STATE_OPEN),
109109
last_state_update=self.device_json["state"].get("last_update"),
110-
), name="MyQ_Authenticate",
110+
), name="MyQ_WaitForOpen",
111111
)
112112

113113
if not wait_for_state:

0 commit comments

Comments
 (0)