if(
                morning_ON == "----"
                and(
                    lightON
                    or iSynchLight == self.iSynchInterval