verisure component names (#8251)

This commit is contained in:
Per Sandström 2017-06-30 08:53:14 +02:00 committed by Pascal Vizeli
parent d0720ac699
commit 31f17a91e6
4 changed files with 4 additions and 4 deletions

View file

@ -45,7 +45,7 @@ class VerisureDoorlock(LockDevice):
"""Return the name of the lock."""
return hub.get_first(
"$.doorLockStatusList[?(@.deviceLabel=='%s')].area",
self._device_label) + " lock"
self._device_label)
@property
def state(self):