Home Automation Lighting

draythomp:
I've just been sampling the state of the output pin, which tells me what I told it to do, but not the actual result.

Sort of. I believe pins are wired so reading an output reads the actual state of the pin. In other words, it is possible to read LOW after writing HIGH if the output driver has failed.