mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
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.
This commit is contained in:
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…
x
Reference in New Issue
Block a user