I wouldn't be surprised to hear either of these, but I suspect the "hardly" version has more than one interpretation.
Firstly "heating adequacy" could mean the temperature, or the ability to heat, so I will assume the temperature, here, for convenience.
The heating is barely adequate means that the heating,is only just able to heat, sufficiently, for comfort, or whatever criteria involved.
The heating is hardly adequate refers to the heating not being sufficient. It means effectively the opposite thing, that it does not meet the mark, does not reach the criteria.
.
Hardly can be used to mean just reaches, but always seem to refer to the inadequacy, or near inadequacy.
Here, I'd take it to mean does not reach the appropriate level.
So the "barely" one say ok, but only just ok.
The hardly one, I'd take to mean "not ok", but I'd recognise that some might use it for the same as "barely" if suggested from context.
.
There may be a regional dependence on the meaning and grammar. See what other answers you get.