Removed unneeded write delay, removed dead code
Removed state change check.
as teh I2C operates asynchronously, write errors are not reported in
time to prevent the local state record from being updated, Thus a write
fail leads to incorrect local state recording and so would prevent
further writes that may be trying to correct the real state output.