I fear that's exactly where I am.
So odd to use a micro, develop code for if 'input 1 is low, set output 1 low' likely with some debounce built in, then maintain an image and have to program devices for production. Then to do it so poorly so it doesn't work. Sometimes analog is just the right...