Rule not working after update to 3.0.1

Running latest OpenHabian on RPi4
I have a rule to switch on and off a light based on time of day and state of the sun. It worked perfectly fine with OH2.5 and 3.0, but since the latest update it does not work. It seems like the rules are getting executed, but the If-statement, which checks a switch that is used to deactivate the entire rule seems to not work.

when Channel 'astro:sun:local:civilDusk#event' triggered START

	logInfo("Wohnzimmer", "Sonne geht unter")
	if(nachtlichtTimerActive.state == ON){
		logInfo("Wohnzimmer", "True")

This is one of the rules in the file, and the first log info part works fine and gets put in the log, but the second one is not. This is the behaviour for all the rules.
Also there are some entries in the log, that might indicate a problem, but I am not sure if they are related to the rule:

2021-03-15 13:08:17.261 [WARN ] [apache.cxf.jaxrs.utils.ResourceUtils] - No resource methods have been found for resource class

I would be very greatfull for any advice on what could be the issues, or if there has been any change to how rules work in the latest update.

Log out the state of the TimerActive Item. It is ever ON when this Rule runs?