Not working. Believe it’s a bug. Shown below is a test piston, simply outputs values to SMS for debugging.
Middle IF does not work with “was less than”, “was less than or equal to” or the shown “was between”, but does work with other condition types like “is less than” etc.
Verified that the power was less than the amount for the given period of time and still less than the amount (light has been at 1W all day).