A replacement is not a repair.
You need to claim Capital allowances for this.
Capital items are written off over 8 years for tax, but Revenue items go in the P&L.
Capital items are items (not used for stock) which are capable of lasting 12 months or more. Therefore a storage heater is a capital item.
However, if very small amounts of money are involved they are usually put in the P&L.