* Update const.py DEFAULT_DELAY = 1 to DEFAULT_DELAY = 100 to fix timeout when adding a new device * Update config_flow.py continuous=False to continuous=True to fix timeout when adding a new device * Update homeassistant/components/roomba/const.py Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com> * Update test_config_flow.py Change CONF_DELAY to match DEFAULT_DELAY (30 sec instead of 1) * Update tests/components/roomba/test_config_flow.py Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com> * Use constant for DEFAULT_DELAY in tests --------- Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com> Co-authored-by: jbouwh <jan@jbsoft.nl>
13 lines
367 B
Python
13 lines
367 B
Python
"""The roomba constants."""
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "roomba"
|
|
PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR, Platform.VACUUM]
|
|
CONF_CERT = "certificate"
|
|
CONF_CONTINUOUS = "continuous"
|
|
CONF_BLID = "blid"
|
|
DEFAULT_CERT = "/etc/ssl/certs/ca-certificates.crt"
|
|
DEFAULT_CONTINUOUS = True
|
|
DEFAULT_DELAY = 30
|
|
ROOMBA_SESSION = "roomba_session"
|