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 e425196 commit dfcbe71Copy full SHA for dfcbe71
example.py
@@ -12,8 +12,7 @@
12
13
EMAIL = "<EMAIL>"
14
PASSWORD = "<PASSWORD>"
15
-ISSUE_COMMANDS = False
16
-
+ISSUE_COMMANDS = True
17
18
def print_info(number: int, device):
19
print(f" Device {number + 1}: {device.name}")
@@ -77,9 +76,6 @@ async def main() -> None:
77
76
else:
78
print(f"Opening of garage door {device.name} is not allowed.")
79
80
- if device.open_allowed and device.close_allowed:
81
- await asyncio.sleep(5)
82
83
if device.close_allowed:
84
if device.state == STATE_CLOSED:
85
print(f"Garage door {device.name} is already closed")
0 commit comments