Continuous humidity measurement in gas-insulated switchgear