mirror of https://github.com/arendst/Tasmota.git
Fix switch status
This commit is contained in:
parent
d543255d0d
commit
100acc5664
|
@ -70,7 +70,8 @@ bool SwitchState(uint32_t index)
|
|||
(PUSHBUTTON_INV == switchmode) ||
|
||||
(PUSHBUTTONHOLD_INV == switchmode) ||
|
||||
(FOLLOWMULTI_INV == switchmode) ||
|
||||
(PUSHHOLDMULTI_INV == switchmode)
|
||||
(PUSHHOLDMULTI_INV == switchmode) ||
|
||||
(PUSHON_INV == switchmode)
|
||||
) ^ Switch.last_state[index];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue