To remove a thermostat from your project file right click on the device in the tree on the left and select 'Remove'.