diff --git a/homeassistant/components/lock/wink.py b/homeassistant/components/lock/wink.py index 09b3a673f2d..76922cf9d62 100644 --- a/homeassistant/components/lock/wink.py +++ b/homeassistant/components/lock/wink.py @@ -16,7 +16,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): import pywink for lock in pywink.get_locks(): - _id = lock.object_id + lock.name() + _id = lock.object_id() + lock.name() if _id not in hass.data[DOMAIN]['unique_ids']: add_devices([WinkLockDevice(lock, hass)])