Increase default bluetooth disconnect timeout to 20s (#528)

This commit is contained in:
J. Nick Koston 2023-09-03 08:28:39 -05:00 committed by GitHub
parent d16eadb83c
commit 4c992365e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ from .model import (
_LOGGER = logging.getLogger(__name__)
DEFAULT_BLE_TIMEOUT = 30.0
DEFAULT_BLE_DISCONNECT_TIMEOUT = 5.0
DEFAULT_BLE_DISCONNECT_TIMEOUT = 20.0
# We send a ping every 20 seconds, and the timeout ratio is 4.5x the
# ping interval. This means that if we don't receive a ping for 90.0