diff --git a/tasmota/support_switch.ino b/tasmota/support_switch.ino index 7acdda409..f1d5c7ea2 100644 --- a/tasmota/support_switch.ino +++ b/tasmota/support_switch.ino @@ -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]; }