Flicking the switch is only registered in DomoticZ and depending on the time, the lamp is switch on or not.
switching 'on' before 6:45 or after 20:00 should not light up the lamp.
However, yesterday apparently it did!?


around 06:06, the lamp was switched on (after successfully ignoring many earlier attempts)
Is my blocky or reasoning flawed in any way?

My blocky: my son flicking the switch: The lamp: