Clean up command learning in the Broadlink integration (#36318)
This commit is contained in:
1 parent
7cc3102209
commit
38bb8ef4d2
3 files changed
+37
-59
No files matched your search
@@ -1,7 +1,8 @@
|
||||
"""Constants for broadlink platform."""
|
||||
from datetime import timedelta
|
||||
|
||||
CONF_PACKET = "packet"
|
||||
|
||||
DEFAULT_LEARNING_TIMEOUT = 20
|
||||
DEFAULT_NAME = "Broadlink"
|
||||
DEFAULT_PORT = 80
|
||||
DEFAULT_RETRY = 3
|
||||
@@ -9,6 +10,8 @@ DEFAULT_TIMEOUT = 5
|
||||
|
||||
DOMAIN = "broadlink"
|
||||
|
||||
LEARNING_TIMEOUT = timedelta(seconds=30)
|
||||
|
||||
SERVICE_LEARN = "learn"
|
||||
SERVICE_SEND = "send"
|
||||
|
||||
|
||||
Reference in new issue
Block a user