The parliament didn't remove the sun tax. I am not sure about this new, but this tax is still being applied. The main leftist party in Spain (Podemos) defended during the last campaign to remove this tax [1], and there is a citizen currently suing Spain for this tax in front of the EU [2]. The Real Decreto de Autoconsumo [3] is active.