diff --git a/homeassistant/components/lock/nello.py b/homeassistant/components/lock/nello.py index 4fd9faafcbe..e7eaea8fcd3 100644 --- a/homeassistant/components/lock/nello.py +++ b/homeassistant/components/lock/nello.py @@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.lock import (LockDevice, PLATFORM_SCHEMA) from homeassistant.const import (CONF_PASSWORD, CONF_USERNAME) -REQUIREMENTS = ['pynello==1.5.1'] +REQUIREMENTS = ['pynello==2.0.2'] _LOGGER = logging.getLogger(__name__) @@ -29,7 +29,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Nello lock platform.""" - from pynello import Nello + from pynello.private import Nello nello = Nello(config.get(CONF_USERNAME), config.get(CONF_PASSWORD)) add_entities([NelloLock(lock) for lock in nello.locations], True) diff --git a/requirements_all.txt b/requirements_all.txt index 418c74cbbdb..1f842754111 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1044,7 +1044,7 @@ pymyq==0.0.15 pymysensors==0.18.0 # homeassistant.components.lock.nello -pynello==1.5.1 +pynello==2.0.2 # homeassistant.components.device_tracker.netgear pynetgear==0.5.1