Gas to play an “important role” in the transition to renewable energy