Fix error in update method for V_STATUS
* Remove check against V_STATUS to avoid error when using version 1.4 of mysensors. V_LIGHT has the same integer value so V_STATUS is not needed.pull/1224/head
parent
1ba60dc898
commit
0492f0abd0
|
@ -153,7 +153,6 @@ class MySensorsSwitch(SwitchDevice):
|
|||
_LOGGER.info(
|
||||
"%s: value_type %s, value = %s", self._name, value_type, value)
|
||||
if value_type == self.gateway.const.SetReq.V_ARMED or \
|
||||
value_type == self.gateway.const.SetReq.V_STATUS or \
|
||||
value_type == self.gateway.const.SetReq.V_LIGHT or \
|
||||
value_type == self.gateway.const.SetReq.V_LOCK_STATUS:
|
||||
self._values[value_type] = (
|
||||
|
|
Loading…
Reference in New Issue