Fixed call to object_id() (#5814)

pull/5590/merge
William Scanlon 2017-02-08 22:57:58 -05:00 committed by Paulus Schoutsen
parent 49f2540730
commit 628b169393
1 changed files with 1 additions and 1 deletions

View File

@ -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)])