Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ repos:
rev: v2.2.6
hooks:
- id: codespell
exclude: >
(?x)^(
.*\.ambr
)$
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.13.2
hooks:
Expand Down
4 changes: 3 additions & 1 deletion roborock/devices/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
MIN_BACKOFF_INTERVAL = datetime.timedelta(seconds=10)
MAX_BACKOFF_INTERVAL = datetime.timedelta(minutes=30)
BACKOFF_MULTIPLIER = 1.5
START_ATTEMPT_TIMEOUT = datetime.timedelta(seconds=5)
# Give time for the NETWORK_INFO fetch and V1 hello attempt
# and potential fallback to L01.
START_ATTEMPT_TIMEOUT = datetime.timedelta(seconds=15)


DeviceReadyCallback = Callable[["RoborockDevice"], None]
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
"tests.fixtures.local_async_fixtures",
"tests.fixtures.pahomqtt_fixtures",
"tests.fixtures.aiomqtt_fixtures",
"tests.fixtures.web_api_fixtures",
]
Loading