Added code to allow library to get rain sensor state.