Set LED state on SO87 change

This commit is contained in:
Paul C Diem 2022-08-10 12:14:58 -05:00
parent 0787534f7f
commit 729dc29807

View File

@ -1386,6 +1386,9 @@ void CmndSetoptionBase(bool indexed) {
case 25: // SetOption107 - Virtual CT Channel - signals whether the hardware white is cold CW (true) or warm WW (false)
TasmotaGlobal.restart_flag = 2;
break;
case 5: // SetOption87 - (PWM Dimmer) Turn red LED on (1) when powered off
TasmotaGlobal.restore_powered_off_led_counter = 1;
break;
}
}
else if (5 == ptype) { // SetOption114 .. 145