in a planar sensor element having a gas - containing layer situated between impermeable covering layers , the gas - containing layer is enclosed by a sealing frame over its entire periphery in a plane running between the covering layers , and at least one of the covering layers has a through hole for the exchange of air between the gas - containing layer and the ambient environment .