return relaystatus with Sensor