Skip to content

Commit d9ca696

Browse files
committed
Define specific timeouts for legacy and actual gateways
1 parent dba5d57 commit d9ca696

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugwise/constants.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232

3333
ADAM: Final = "Adam"
3434
ANNA: Final = "Smile Anna"
35-
DEFAULT_TIMEOUT: Final = 30
35+
DEFAULT_TIMEOUT: Final = 10
36+
DEFAULT_LEGACY_TIMEOUT: Final = 30
3637
DEFAULT_USERNAME: Final = "smile"
3738
DEFAULT_PORT: Final = 80
3839
DEFAULT_PW_MAX: Final = 30.0

0 commit comments

Comments
 (0)