Add pin poll after power down
On power down, interrupts are disabled and re-enabled after the procedure is done.
If the pin status changes during the power down, it is not reflected on the internal status/status page.
either do a
if (PINS.ramping) {
poll_port_expander()
}
else poll after finishing ramping, and sell this as a feature that the event that triggered the power down remains visible.