Help me troubleshoot if NOT condition

I am trying to do this - If any contacts are open AND thermostat is not in OFF mode..then.....
but, from the below logic, i think the code is going inside then, even if thermostat IS in off mode

Have you observed the thermostat during this time? Is it in the off mode? Separate to what HE is reporting?

I can't be sure, but am wondering whether the T / TRUE in the logs may indicate that the NOT condition and the combined condition are true after the NOT is applied, if you know what I mean.