Just use a grounding adapter to plug between the thermostat and the power strip. The ground on the power strip is not needed anyway since your heat source most likely doesn't have a ground wire. Another option would be to just cut the ground plug off the power strip.

Steve