Trying to make a rule to turn off hvac when window open

I'm glad you got it working. I never put a variable on a dashboard, but you can try this: