Merge pull request #1224 from MartinHjelmare/fix-mysensors-version-error

Fix error in update method for V_STATUS
pull/1182/head
Paulus Schoutsen 2016-02-12 18:54:12 -08:00
commit fc3a37cba2
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] = (