diff --git a/homeassistant/components/binary_sensor/verisure.py b/homeassistant/components/binary_sensor/verisure.py index f6c0123ad0..8702c8bd77 100644 --- a/homeassistant/components/binary_sensor/verisure.py +++ b/homeassistant/components/binary_sensor/verisure.py @@ -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): diff --git a/homeassistant/components/camera/verisure.py b/homeassistant/components/camera/verisure.py index fbe91ad91a..b637858303 100644 --- a/homeassistant/components/camera/verisure.py +++ b/homeassistant/components/camera/verisure.py @@ -97,4 +97,4 @@ class VerisureSmartcam(Camera): """Return the name of this camera.""" return hub.get_first( "$.customerImageCameras[?(@.deviceLabel=='%s')].area", - self._device_label) + " camera" + self._device_label) diff --git a/homeassistant/components/lock/verisure.py b/homeassistant/components/lock/verisure.py index 7a24dd6bb3..4af19f5261 100644 --- a/homeassistant/components/lock/verisure.py +++ b/homeassistant/components/lock/verisure.py @@ -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): diff --git a/homeassistant/components/switch/verisure.py b/homeassistant/components/switch/verisure.py index 597e1aa595..710580c2ec 100644 --- a/homeassistant/components/switch/verisure.py +++ b/homeassistant/components/switch/verisure.py @@ -41,7 +41,7 @@ class VerisureSmartplug(SwitchDevice): """Return the name or location of the smartplug.""" return hub.get_first( "$.smartPlugs[?(@.deviceLabel == '%s')].area", - self._device_label) + " switch" + self._device_label) @property def is_on(self):