I know. But in this case, the contacts will be already closed or already opened. To be specific, the state of the contacts are tested once every 5 seconds (to save energy) and it is not important if, by coincidence, the sampling takes place at the very unlikely exact same time the relay is changing state. The next sample reading will be done well after the relay contacts have stabilized anyway.actually debounce time should be on the other of 10ms, not 0.1ms
The relay changes states only once every few hours, by the way.