Hydrogen has been stored underground in multiple places. This is not some speculative technology, it actually exists. The problem you describe is not a blocker. Granted, underground storage is at a larger scale than for an individual. Storing hydrogen in your home is probably not a good idea. Storing thermal energy underground, on the other hand, could make sense for seasonal storage. Ground source heat pumps essentially do that.