True, and I don't know how it will respond to a slowly-changing input. But some combination of LDR value, series resistor value, and light level will cause a state change. With so little to go on from the OP, it's seems like a less complicated starting point.
ak