Sweden has very little natural gas in its energy mix:
https://ourworldindata.org/grapher/energy-consumption-by-sou...
I highly doubt that hydrogen heating was ever considered. It's usually pushed by the gas lobby (since most hydrogen comes from gas), and Sweden doesn't have a strong gas lobby.