If there is a box in the wall behind the stat with an earth terminal screw in, then connect it to that. If not, put the earth cable into one segment of chocolate block, tape it up and tuck it out of the way. You are using a double insulated component that does not require an earth. No probs!