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
MartinHjelmare 2016-02-12 22:05:31 +01:00
parent 1ba60dc898
commit 0492f0abd0
1 changed files with 0 additions and 1 deletions

View File

@ -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] = (