Use homematic garage door status to control smart thermostat on/off

Hello

Have installed homematic garage door module.
But i cant use the open/close status to control my smart thermostat.

On old door i had a switch that controlled the heater on/off when door opened. but this one cant be used with new door. Thats why i would like to use the garagedoor module status.

Any ideas?