I designed and printed a fix for a common problem in the Tado Smart Thermostat, the failure of the battery compartment. You just need to fully remove the broken part and fit this piece inside, transferring the metallic contacts to the new component.
eBay