Reverts changes to ZWave lock status update (#2595) (#2696)

This commit is contained in:
Tobie Booth authored and Paulus Schoutsen committed 2016-08-01 20:56:43 -07:00
1 parent c608740382
commit b51ba85a15
1 file changed
+1 -2
+1 -2
View File
@@ -46,8 +46,7 @@ class ZwaveLock(zwave.ZWaveDeviceEntity, LockDevice):
def _value_changed(self, value):
"""Called when a value has changed on the network."""
if self._value.value_id == value.value_id or \
self._value.node == value.node:
if self._value.value_id == value.value_id:
self._state = value.data
self.update_ha_state()