mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
parent
c608740382
commit
b51ba85a15
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user