mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fixed bug with devices not being discovered correctly. (#9311)
This commit is contained in:
parent
fad914de8c
commit
894200d87d
@ -52,7 +52,8 @@ def setup(hass, config):
|
||||
password = conf.get(CONF_PASSWORD)
|
||||
|
||||
try:
|
||||
hass.data[DATA_ABODE] = abode = abodepy.Abode(username, password)
|
||||
hass.data[DATA_ABODE] = abode = abodepy.Abode(
|
||||
username, password, auto_login=True, get_devices=True)
|
||||
|
||||
except (ConnectTimeout, HTTPError) as ex:
|
||||
_LOGGER.error("Unable to connect to Abode: %s", str(ex))
|
||||
|
Loading…
x
Reference in New Issue
Block a user