Just for reference this is my T5 white setting:
Fallback ON
Set OFF
If Time 09:00 to 18:59 Then ON
If Tmp > 84.0 Then OFF
Notice the 18:59. that way might light shuts off exactly at 7pm. You do not need an "off" time statement as the "Set Off" shuts the light off.
Apex reads and evaluates codes starting from the top down. The last "true" statement is the one that gets evaluated.
So in my coding, the "set Off' is evaluated first, and the apex stops there if the "time" statement isn't evaluated as true. If the time is evaluated as true, then it skips the "Set Off" statement and evaluates the "time" statement. Now the next line, my temp statement. If the temp statement evaluates as true, it turns the light off, then if the temp statement evaluates as false, it reverts back to the time statement.