1) Give a description of the problem
Let’s say I have code to turn on a light between sunset to 11:00PM. If current time is 10:00PM, the light should be on. If I manually turn off the light from an app, will it be turned on again by the logic from the code?
2) What is the expected behavior?
I guess if I manual turn it off, it should not be turned on again. It should be turned on the next cycle so it should be turned on the next day after sunset. Right?
3) What is happening/not happening?
I am not sure what is happening now. It seems like it does not turn on after I turn it off manually unless I hit test from the code.
Thank you very much. Sorry about it since it may be a stupid or too general question.