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

@ -38,7 +38,7 @@ class VerisureDoorWindowSensor(BinarySensorDevice):
"""Return the name of the binary sensor."""
return hub.get_first(
"$.doorWindow.doorWindowDevice[?(@.deviceLabel=='%s')].area",
self._device_label) + " door window"
self._device_label)
@property
def is_on(self):