From ff3d90c36d13cc412d388e26dfa1b4aa0ebdb19b Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 29 Dec 2022 14:02:48 +0100 Subject: [PATCH] Fix teleperiod PUSH_IGNORE_INV Fix teleperiod PUSH_IGNORE_INV (#17028) --- tasmota/tasmota_support/support_switch.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/tasmota_support/support_switch.ino b/tasmota/tasmota_support/support_switch.ino index 6bf59bbcb..5b66f301b 100644 --- a/tasmota/tasmota_support/support_switch.ino +++ b/tasmota/tasmota_support/support_switch.ino @@ -84,7 +84,8 @@ bool SwitchState(uint32_t index) { (PUSHBUTTONHOLD_INV == switchmode) || (FOLLOWMULTI_INV == switchmode) || (PUSHHOLDMULTI_INV == switchmode) || - (PUSHON_INV == switchmode) + (PUSHON_INV == switchmode) || + (PUSH_IGNORE_INV == switchmode) ) ^ Switch.last_state[index]; }