*** No longer supported *** [RELEASE] Resilient My Ecobee Devices and ecosystem V6- migrated to custom capabilities & automation (presence, comfort settings, and more)!

If you have specific requirements, you can use the WebCoRE forum to improve your current script as my smartapps will address the most common use cases.

I don’t use WebCoRE myself… Sorry.

P.S. There are many options available depending on your requirements, If you don’t want to turn off the heat, and just lower your setpoints, you can use a smartapp called ecobeeSetZoneWithSchedule which can create virtual zones for your home. By using the virtual zones, you can detect for which sections of your home, the contact is open, and then change the setpoints accordingly in webCore. Or, the smartapp has also some built-in logic to ignore the room(s) when the contacts are open and adjust the setpoints accordingly.

Refer to [RELEASE] New version of my zoned Heating/Cooling Solutions