Cannot get schedule to turn off relay

That’s what I thought but as soon as the drain/relay opens the float goes back to its normal state. I’ve tried removing the trigger and float switch all together and just have a schedule to turn on the drain/relay and it never turns on.